Re: B-tree performance improvements in 8.x - Mailing list pgsql-general

From Dick Kniep
Subject Re: B-tree performance improvements in 8.x
Date
Msg-id 200602081802.08597.dick@kniep.nl
Whole thread Raw
In response to Re: B-tree performance improvements in 8.x  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: B-tree performance improvements in 8.x  (Greg Stark <gsstark@mit.edu>)
Re: B-tree performance improvements in 8.x  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-general
On Wednesday 08 February 2006 06:18, Tom Lane wrote:
> Dick Kniep <dick@kniep.nl> writes:
> > Does this also affect if you have many NULL values in the key? So testing
> > Not is NULL would also be affected?
>
> IS NOT NULL isn't an indexable operation, so your question doesn't really
> apply :-(

Does this mean that if you have a table that has many rows, and 95% of the
rows contain a NULL value for a field, that indexing will be useless, because
it will always do a tablescan?

Hope not!

Dick

pgsql-general by date:

Previous
From: Heinrich Streit
Date:
Subject: wal copies for high availability
Next
From: Dan Armbrust
Date:
Subject: Create a new database from JDBC?