pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedSetting vacuum_mem for vacuumdb utility
3+ messages / 3 participants
[nested] [flat]
* Setting vacuum_mem for vacuumdb utility
@ 2004-05-27 16:56 Jeff Boes <jboes@qtm.net>
0 siblings, 1 reply; 3+ messages in thread
From: Jeff Boes @ 2004-05-27 16:56 UTC (permalink / raw)
To: pgsql-admin
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?
--
Jeff Boes vox 269.226.9550 ext 24
Database Engineer fax 269.349.9076
Nexcerpt, Inc. http://www.nexcerpt.com
...Nexcerpt... Extend your Expertise
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Setting vacuum_mem for vacuumdb utility
@ 2004-05-31 02:48 Bruce Momjian <pgman@candle.pha.pa.us>
parent: Jeff Boes <jboes@qtm.net>
0 siblings, 1 reply; 3+ messages in thread
From: Bruce Momjian @ 2004-05-31 02:48 UTC (permalink / raw)
To: Jeff Boes <jboes@nexcerpt.com>; +Cc: pgsql-admin
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.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Setting vacuum_mem for vacuumdb utility
@ 2004-06-04 17:30 Chris Hoover <revoohc@sermonaudio.com>
parent: Bruce Momjian <pgman@candle.pha.pa.us>
0 siblings, 0 replies; 3+ messages in thread
From: Chris Hoover @ 2004-06-04 17:30 UTC (permalink / raw)
To: Jeff Boes <jboes@nexcerpt.com>; +Cc: 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.
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2004-06-04 17:30 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-05-27 16:56 Setting vacuum_mem for vacuumdb utility Jeff Boes <jboes@qtm.net>
2004-05-31 02:48 ` Bruce Momjian <pgman@candle.pha.pa.us>
2004-06-04 17:30 ` Chris Hoover <revoohc@sermonaudio.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox