pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <smarlowe@qwest.net>
To: Olivier Hubaut <olivier@scmbb.ulb.ac.be>
Cc: C. Bensend <benny@bennyvision.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: VARCHAR -vs- CHAR: huge performance difference?
Date: Thu, 17 Jun 2004 09:37:36 -0600
Message-ID: <1087486656.27839.2.camel@localhost.localdomain> (raw)
In-Reply-To: <opr9qaj9yp94ope3@olivier.amaze.ulb.ac.be>
References: <51429.63.227.74.41.1087347504.squirrel@webmail.stinkweasel.net>
	<15549.1087351669@sss.pgh.pa.us>
	<50124.63.227.74.41.1087351971.squirrel@webmail.stinkweasel.net>
	<15996.1087354312@sss.pgh.pa.us>
	<58063.63.227.74.41.1087355391.squirrel@webmail.stinkweasel.net>
	<1087363871.1582.20.camel@localhost.localdomain>
	<1185.134.244.169.17.1087396700.squirrel@webmail.stinkweasel.net>
	<opr9qaj9yp94ope3@olivier.amaze.ulb.ac.be>

On Thu, 2004-06-17 at 00:46, Olivier Hubaut wrote:
> On Wed, 16 Jun 2004 09:37:58 -0500 (CDT), C. Bensend  
> <benny@bennyvision.com> wrote:
> 
> >
> >> You might want to look into the autovacuum daemon, and / or increasing
> >> fsm settings to be large enough to hold all the spare tuples released by
> >> vacuuming.
> >
> > IIRC, the autovacuum stuff was added in 7.4, which I'm not running (yet).
> > An upgrade to 7.4.3 might be prudent for me, while the database is still
> > small.
> >
> > Benny
> >
> >
> 
> By the way, be carefull. The pg_autovacuum is not good enough for being  
> using as the only way for cleaning the database, especially if you have a  
> lot of update and delete on the same tables.

The problem here isn't pg_autovacuum, but too small of settings for
fsm.  I've run multi-day tests where autovacuum kept the size of the
database pretty much the same with 200+ updates a second going on.




view thread (18+ messages)  latest in thread

Message-ID: <1087486656.27839.2.camel@localhost.localdomain>
Permalink:  ../1087486656.27839.2.camel@localhost.localdomain/
Also on:    postgresql.org/message-id/1087486656.27839.2.camel@localhost.localdomain

 · 

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: smarlowe@qwest.net, olivier@scmbb.ulb.ac.be, benny@bennyvision.com
  Subject: Re: VARCHAR -vs- CHAR: huge performance difference?
  In-Reply-To: <1087486656.27839.2.camel@localhost.localdomain>
  References: <51429.63.227.74.41.1087347504.squirrel@webmail.stinkweasel.net> <15549.1087351669@sss.pgh.pa.us> <50124.63.227.74.41.1087351971.squirrel@webmail.stinkweasel.net> <15996.1087354312@sss.pgh.pa.us> <58063.63.227.74.41.1087355391.squirrel@webmail.stinkweasel.net> <1087363871.1582.20.camel@localhost.localdomain> <1185.134.244.169.17.1087396700.squirrel@webmail.stinkweasel.net> <opr9qaj9yp94ope3@olivier.amaze.ulb.ac.be> <1087486656.27839.2.camel@localhost.localdomain>

* 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