Re: BUG #18573: Analyze command consumes several GB of memory - more than analyzed table size

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #18573: Analyze command consumes several GB of memory - more than analyzed table size
Дата
Msg-id 1959772.1723041966@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #18573: Analyze command consumes several GB of memory - more than analyzed table size  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #18573: Analyze command consumes several GB of memory - more than analyzed table size
Список pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> Is there more I can do to identify why analyze uses that much memory?

What have you got default_statistics_target set to?

You might need to decrease the stats target for that composite-array
column.  compute_array_stats is fairly aggressive about how much
data it will try to collect, and I can believe that that'd add up
when the array elements are of a wide composite type.

            regards, tom lane



В списке pgsql-bugs по дате отправления: