pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: frbn@efbs-seafrigo.fr
Cc: pgsql-sql@postgresql.org
Subject: Re: SELECT * FROM t where p or q;
Date: Tue, 20 Nov 2001 09:58:04 -0800 (PST)
Message-ID: <20011120095544.L57636-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <3BFA95ED.EE814258@efbs-seafrigo.fr>

On Tue, 20 Nov 2001 frbn@efbs-seafrigo.fr wrote:

> thanks to you, after a 15mn long "vacuum ANALYZE table"      :(

Ugh.  7.2s vacuum will be much happier (since it doesn't lock
the tables from other usual use - yay Tom!) but I think there's
also some things you may be able to do to speed it up.  It's
possible dropping indexes and recreating them may be faster.

> I can't figure out how Tera-bytes databases admins can
> deal with such vacuum delays!
> (except if a vacuum is only needed every 10 millions records :] )

It mostly depends on the frequency of deletes and updates to the
database.




view thread (7+ messages)  latest in thread

Message-ID: <20011120095544.L57636-100000@megazone23.bigpanda.com>
Permalink:  ../20011120095544.L57636-100000@megazone23.bigpanda.com/
Also on:    postgresql.org/message-id/20011120095544.L57636-100000@megazone23.bigpanda.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-sql@postgresql.org
  Cc: sszabo@megazone23.bigpanda.com, frbn@efbs-seafrigo.fr
  Subject: Re: SELECT * FROM t where p or q;
  In-Reply-To: <20011120095544.L57636-100000@megazone23.bigpanda.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