Re: B-tree performance improvements in 8.x

From: Dick Kniep <dick(at)kniep(dot)nl>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: B-tree performance improvements in 8.x
Date: 2006-02-08 17:02:08
Message-ID: 200602081802.08597.dick@kniep.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wednesday 08 February 2006 06:18, Tom Lane wrote:
> Dick Kniep <dick(at)kniep(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dan Armbrust 2006-02-08 17:03:45 Create a new database from JDBC?
Previous Message Heinrich Streit 2006-02-08 16:36:57 wal copies for high availability