Re: Contrib reindex script:

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Neil Conway <nconway(at)klamath(dot)dyndns(dot)org>
Cc: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>, sthomas(at)townnews(dot)com, pgsql-general(at)postgresql(dot)org
Subject: Re: Contrib reindex script:
Date: 2002-06-13 19:48:08
Message-ID: 28724.1023997688@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Neil Conway <nconway(at)klamath(dot)dyndns(dot)org> writes:
> Also, could we enhance REINDEX to not require an exclusive table lock?
> Without looking at the code, I would think that we could at least allow
> for SELECTs (using seqscans or other indexes) while a REINDEX is running.

Not unless you see a way to prevent those SELECTs from trying to use the
index...

Personally I think putting development effort into REINDEX is a waste of
manpower. Study how to make btree collapse out empty pages, instead.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2002-06-13 19:51:02 Re: Contrib reindex script:
Previous Message Uros Gruber 2002-06-13 19:46:14 Close idle connections