Re: 8.x index insert performance

From: Kelly Burkhart <kelly(at)tradebotsystems(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: mark(at)mark(dot)mielke(dot)cc, Merlin Moncure <merlin(dot)moncure(at)rcsonline(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: 8.x index insert performance
Date: 2005-10-31 20:59:51
Message-ID: 1130792391.7026.55.camel@krb06.tradebot.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Mon, 2005-10-31 at 15:30 -0500, Tom Lane wrote:
> mark(at)mark(dot)mielke(dot)cc writes:
> > I've been trying to figure out whether null values are indexed or not from
> > the documentation. I was under the impression, that null values are not
> > stored in the index.
>
> You're mistaken, at least with regard to btree indexes.

Ha! So I'm creating an index 98% full of nulls! Looks like this is
easily fixed with partial indexes.

-K

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Merlin Moncure 2005-10-31 21:01:34 Re: 8.x index insert performance
Previous Message Tom Lane 2005-10-31 20:30:29 Re: 8.x index insert performance