Re: indexes no longer used after shutdown during reindexing - Mailing list pgsql-general

From Tom Lane
Subject Re: indexes no longer used after shutdown during reindexing
Date
Msg-id 28990.1326324575@sss.pgh.pa.us
Whole thread Raw
In response to indexes no longer used after shutdown during reindexing  (Matt Dew <mattd@consistentstate.com>)
Responses Re: indexes no longer used after shutdown during reindexing
List pgsql-general
Matt Dew <mattd@consistentstate.com> writes:
>     I have a database that was shut down, cleanly, during an 'reindex
> table'  command.  When the database came back up, queries against that
> table started doing sequential scans instead of using the indexes as
> they had been up until that point.

What exactly is your definition of a "clean shutdown"?  At the very
least you'd have had to abort the session running the reindex.  Also,
what PG version is this, and what are the index definitions?

            regards, tom lane

pgsql-general by date:

Previous
From: Kirill Müller
Date:
Subject: Re: Enumeration of tables is very slow in largish database
Next
From: "David Johnston"
Date:
Subject: Re: Enumeration of tables is very slow in largish database