Re: Query does not use index

From: Martin Hampl <Martin(dot)Hampl(at)gmx(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Query does not use index
Date: 2004-05-01 15:58:29
Message-ID: 63684DAC-9B88-11D8-9140-000393674318@gmx.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


Am 01.05.2004 um 17:48 schrieb Tom Lane:

> Martin Hampl <Martin(dot)Hampl(at)gmx(dot)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 ...

There is. Well...

Regards,
Martin

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Chari Clark 2004-05-03 20:20:13 Restoring a SQL Server 2000 database to PostGreSQL...
Previous Message Tom Lane 2004-05-01 15:48:57 Re: Query does not use index