pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Nagler <nagler@bivio.biz>
To: pgsql-performance@postgresql.org
Subject: Re: vacuum locking
Date: Fri, 24 Oct 2003 16:04:39 -0600
Message-ID: <16281.41463.449000.639113@gargle.gargle.HOWL> (raw)
In-Reply-To: <bmrq0s$2tpa$1@news.hub.org>
References: <16272.318.870000.93584@gargle.gargle.HOWL>
	<3F9006BF.40906@persistent.co.in>
	<16272.4154.489000.227676@gargle.gargle.HOWL>
	<cm90pvsbml6qdpe9el3qm66ogj7cpdk5ar@email.aon.at>
	<16272.30527.120343.547492@jump.bivio.com>
	<bmrq0s$2tpa$1@news.hub.org>

Stephen writes:
> I ran into the same problem with VACUUM on my Linux box. If you are running
> Linux, take a look at "elvtune" or read this post:

The default values were -r 64 -w 8192.  The article said this was
"optimal".  I just futzed with different values anywere from -w 128 -r
128 to -r 16 -w 8192.  None of these mattered much when vacuum is
running. 

This is a RAID1 box with two disks.  Even with vacuum and one other
postmaster running, it's still got to get a lot of blocks through the
I/O system.

Rob





view thread (45+ messages)  latest in thread

Message-ID: <16281.41463.449000.639113@gargle.gargle.HOWL>
Permalink:  ../16281.41463.449000.639113@gargle.gargle.HOWL/
Also on:    postgresql.org/message-id/16281.41463.449000.639113@gargle.gargle.HOWL

 · 

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-performance@postgresql.org
  Cc: nagler@bivio.biz
  Subject: Re: vacuum locking
  In-Reply-To: <16281.41463.449000.639113@gargle.gargle.HOWL>
  References: <16272.318.870000.93584@gargle.gargle.HOWL> <3F9006BF.40906@persistent.co.in> <16272.4154.489000.227676@gargle.gargle.HOWL> <cm90pvsbml6qdpe9el3qm66ogj7cpdk5ar@email.aon.at> <16272.30527.120343.547492@jump.bivio.com> <bmrq0s$2tpa$1@news.hub.org> <16281.41463.449000.639113@gargle.gargle.HOWL>

* 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