pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe Conway <mail@joeconway.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Matthew T. O'Connor <matthew@zeut.net>
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Cc: Josh Berkus <josh@agliodbs.com>
Subject: Re: rapid degradation after postmaster restart
Date: Tue, 16 Mar 2004 20:49:01 -0800
Message-ID: <4057D8BD.4080902@joeconway.com> (raw)
In-Reply-To: <16735.1079414723@sss.pgh.pa.us>
References: <4052661D.5060505@joeconway.com>
	<14884.1079150555@sss.pgh.pa.us>
	<4055F343.6070600@joeconway.com>
	<405614CA.5030101@zeut.net>
	<405689A4.4080406@joeconway.com>
	<16735.1079414723@sss.pgh.pa.us>

Tom Lane wrote:
> Joe Conway <mail@joeconway.com> writes:
> 
>>Any idea where I can get my hands on the latest version. I found the 
>>original post from Tom, but I thought there was a later version with 
>>both number of pages and time to sleep as knobs.
> 
> That was as far as I got.  I think Jan posted a more complex version
> that would still be reasonable to apply to 7.4.

I have tested Tom's original patch now. The good news -- it works great 
in terms of reducing the load imposed by vacuum -- almost to the level 
of being unnoticeable. The bad news -- in a simulation test which loads 
an hour's worth of data, even with delay set to 1 ms, vacuum of the 
large table exceeds two hours (vs 12-14 minutes with delay = 0). Since 
that hourly load is expected 7 x 24, this obviously isn't going to work.

The problem with Jan's more complex version of the patch (at least the 
one I found - perhaps not the right one) is it includes a bunch of other 
experimental stuff that I'd not want to mess with at the moment. Would 
changing the input units (for the original patch) from milli-secs to 
micro-secs be a bad idea? If so, I guess I'll get to extracting what I 
need from Jan's patch.

Thanks,

Joe




view thread (26+ messages)  latest in thread

Message-ID: <4057D8BD.4080902@joeconway.com>
Permalink:  ../4057D8BD.4080902@joeconway.com/
Also on:    postgresql.org/message-id/4057D8BD.4080902@joeconway.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: mail@joeconway.com, tgl@sss.pgh.pa.us, matthew@zeut.net, josh@agliodbs.com
  Subject: Re: rapid degradation after postmaster restart
  In-Reply-To: <4057D8BD.4080902@joeconway.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