Re: Not using indexes in WHERE clauses

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: eru(at)mimuw(dot)edu(dot)pl, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Not using indexes in WHERE clauses
Date: 2001-01-19 15:47:26
Message-ID: 8556.979919246@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Using a seqscan to retrieve half of the entries in a table is not a bug,
it is correct behavior.

Your test case might make you think otherwise, but that's because your
test data is artificially well-ordered. Try the two methods with the
same data loaded in a random order ...

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message pgsql-bugs 2001-01-20 22:48:31 installation fails
Previous Message pgsql-bugs 2001-01-19 12:42:15 Not using indexes in WHERE clauses