pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Hoover <revoohc@sermonaudio.com>
To: Jeff Boes <jboes@nexcerpt.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Setting vacuum_mem for vacuumdb utility
Date: Fri, 04 Jun 2004 13:30:45 -0400
Message-ID: <40C0B1C5.3000107@sermonaudio.com> (raw)
In-Reply-To: <200405310248.i4V2mXC28412@candle.pha.pa.us>
References: <200405310248.i4V2mXC28412@candle.pha.pa.us>

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.




view thread (3+ messages)

Message-ID: <40C0B1C5.3000107@sermonaudio.com>
Permalink:  ../40C0B1C5.3000107@sermonaudio.com/
Also on:    postgresql.org/message-id/40C0B1C5.3000107@sermonaudio.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: revoohc@sermonaudio.com, jboes@nexcerpt.com
  Subject: Re: Setting vacuum_mem for vacuumdb utility
  In-Reply-To: <40C0B1C5.3000107@sermonaudio.com>
  References: <200405310248.i4V2mXC28412@candle.pha.pa.us> <40C0B1C5.3000107@sermonaudio.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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