Re: Setting vacuum_mem for vacuumdb utility - Mailing list pgsql-admin

From Bruce Momjian
Subject Re: Setting vacuum_mem for vacuumdb utility
Date
Msg-id 200405310248.i4V2mXC28412@candle.pha.pa.us
Whole thread Raw
In response to Setting vacuum_mem for vacuumdb utility  (Jeff Boes <jboes@qtm.net>)
Responses Re: Setting vacuum_mem for vacuumdb utility
List 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

pgsql-admin by date:

Previous
From: Ian Lipsky
Date:
Subject: determining when a database was created
Next
From: Christopher Browne
Date:
Subject: Re: Postgresql on a shared storage