Skip site navigation (1) Skip section navigation (2)

Re: Setting vacuum_mem for vacuumdb utility

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
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-05-31 02:48:33
Message-ID: 200405310248.i4V2mXC28412@candle.pha.pa.us (view raw or flat)
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

Responses

pgsql-admin by date

Next:From: Christopher BrowneDate: 2004-05-31 03:00:17
Subject: Re: Performance Problem
Previous:From: Christopher BrowneDate: 2004-05-31 02:22:00
Subject: Re: Postgresql on a shared storage

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group