Re: Setting vacuum_mem for vacuumdb utility

Поиск
Список
Период
Сортировка
От Chris Hoover
Тема Re: Setting vacuum_mem for vacuumdb utility
Дата
Msg-id 40C0B1C5.3000107@sermonaudio.com
обсуждение исходный текст
Ответ на Re: Setting vacuum_mem for vacuumdb utility  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-admin
Bruce Momjian wrote:

>Jeff Boes wrote:
>
>
>>I just discovered that the use of a much larger setting on vacuum_mem
>>has a joyous effect on the throughput of VACUUM FULL for some of our
>>tables. However, all of my maintenance scripts use "vacuumdb" (the
>>command-line utility) instead of psql. How can I set vacuum_mem for the
>>duration of the vacuumdb command's execution?
>>
>>
>
>Sure, set it in postgresql.conf.
>
>
>
You can also modify the vacuumdb script.  I just added a set call to the
script to set the memory to a high value when vacuuming and reset it
back to normal when finished so I don't take extra memory away from the
server.


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: URGENT : StreamServerPort: bind() failed: Cannotassign
Следующее
От: "Siddharth Rath (sirath)"
Дата:
Сообщение: Re: URGENT : StreamServerPort: bind() failed: Cannotassign