From: | "Chris Hoover" <revoohc(at)sermonaudio(dot)com> |
---|---|
To: | "Jeff Boes" <jboes(at)nexcerpt(dot)com> |
Cc: | <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: Setting vacuum_mem for vacuumdb utility |
Date: | 2004-06-04 17:30:45 |
Message-ID: | 40C0B1C5.3000107@sermonaudio.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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.
From | Date | Subject | |
---|---|---|---|
Next Message | Siddharth Rath (sirath) | 2004-06-04 18:01:43 | Re: URGENT : StreamServerPort: bind() failed: Cannotassign |
Previous Message | todhunter | 2004-06-04 17:02:32 | Large database |