Re: Query does not use index - Mailing list pgsql-novice

From Tom Lane
Subject Re: Query does not use index
Date
Msg-id 14409.1083426537@sss.pgh.pa.us
Whole thread Raw
In response to Re: Query does not use index  (Martin Hampl <Martin.Hampl@gmx.de>)
Responses Re: Query does not use index
How to set up an SSL test environment?
List pgsql-novice
Martin Hampl <Martin.Hampl@gmx.de> writes:
> Am 30.04.2004 um 17:52 schrieb Tom Lane:
>> It could be that this table has a lot of empty pages near the front,

> I never deleted anything from this database, but it might be that I
> dropped some of the tables a couple of times when populating the
> database. Also 'copy from' failed a couple of times. Can that have the
> same effect?

A failed copy-in would leave a dead row for each input line that it was
able to process before hitting the error.  So potentially that could
account for a lot of dead rows.  I think there is a hint on the COPY
reference page suggesting that you VACUUM in such a situation ...

            regards, tom lane

pgsql-novice by date:

Previous
From: Jeff Eckermann
Date:
Subject: Re: Setting up pgsql for ODBC
Next
From: Martin Hampl
Date:
Subject: Re: Query does not use index