Re: CLUSTER using more memory than expected

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: CLUSTER using more memory than expected
Дата
Msg-id 5929.1161816588@sss.pgh.pa.us
обсуждение исходный текст
Ответ на CLUSTER using more memory than expected  ("Joshua Marsh" <icub3d@gmail.com>)
Ответы Re: CLUSTER using more memory than expected
Список pgsql-admin
"Joshua Marsh" <icub3d@gmail.com> writes:
> The CLUSTER function seems to be using more memory than I expect.

CLUSTER will eat maintenance_work_mem during index rebuilds --- more or
less.  You shouldn't expect these numbers to be dead on, particularly
not in older releases.  It looks like your 2Gb spec has turned into
3.6Gb actually eaten, which is a bit sloppier accounting than I'd like
but not overly surprising.  (FWIW, I think CVS HEAD is better than 8.0
at measuring sort workspace.)

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Vacuum Problems (locking)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_restore and drop table problems