Re: Contrib reindex script: - Mailing list pgsql-general

From Tom Lane
Subject Re: Contrib reindex script:
Date
Msg-id 28724.1023997688@sss.pgh.pa.us
Whole thread Raw
In response to Re: Contrib reindex script:  (Neil Conway <nconway@klamath.dyndns.org>)
Responses Re: Contrib reindex script:  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-general
Neil Conway <nconway@klamath.dyndns.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

pgsql-general by date:

Previous
From: Uros Gruber
Date:
Subject: Close idle connections
Next
From: Bruce Momjian
Date:
Subject: Re: Contrib reindex script: