pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus Benne <thing@m-bass.com>
To: pgsql-performance@postgresql.org
Subject: Reindex - Is this necessary after a vacuum?
Date: Tue, 25 Oct 2005 06:56:07 -0700 (PDT)
Message-ID: <20051025135607.39805.qmail@web31615.mail.mud.yahoo.com> (raw)

We are reindexing frequently, and I'm wondering if
this is really necessary, given that it appears to
take an exclusive lock on the table.

Our table in question is vacuumed every 4 minutes, and
we are reindexing after each one.

I'm not a fan of locking this table that frequently,
even if it is only for 5 - 10 seconds depending on
load.

The vacuum is a standard vacuum.  Nightly we do a
vacuum analyze.

Thanks for any tips,
...Markus



view thread (3+ messages)  latest in thread

Message-ID: <20051025135607.39805.qmail@web31615.mail.mud.yahoo.com>
Permalink:  ../20051025135607.39805.qmail@web31615.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/20051025135607.39805.qmail@web31615.mail.mud.yahoo.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: thing@m-bass.com
  Subject: Re: Reindex - Is this necessary after a vacuum?
  In-Reply-To: <20051025135607.39805.qmail@web31615.mail.mud.yahoo.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