Re: BIGINT indexes still with problems

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: "Dan Ruthers" <dan211a(at)lycos(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: BIGINT indexes still with problems
Date: 2004-08-10 19:25:53
Message-ID: 200408102125.53737.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dan Ruthers wrote:
> The index is used!
> I also did a vacuum analyze, and restarted Postgres and it did not
> make any difference. I tried many other ID values (ex 783218 and
> 783220), and they seem to use the index correctly. Only that value
> doesn't.

Possibly, that is the most common value and the cost calculation yields
that it would be more efficient to not use the index. If you disagree,
please show the timings generated by EXPLAIN ANALYZE.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2004-08-10 19:28:13 Re: BIGINT indexes still with problems
Previous Message Sven Willenberger 2004-08-10 19:24:46 pg_restore with Fc fails with [archiver] out of memory error