pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kelly Burkhart <kelly@tradebotsystems.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: mark@mark.mielke.cc, Merlin Moncure <merlin.moncure@rcsonline.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: 8.x index insert performance
Date: Mon, 31 Oct 2005 14:59:51 -0600
Message-ID: <1130792391.7026.55.camel@krb06.tradebot.com> (raw)
In-Reply-To: <18647.1130790629@sss.pgh.pa.us>
References: <6EE64EF3AB31D5448D0007DD34EEB3417DD725@Herge.rcsinc.local>
	<20051031193547.GA3311@mark.mielke.cc>
	<18647.1130790629@sss.pgh.pa.us>

On Mon, 2005-10-31 at 15:30 -0500, Tom Lane wrote:
> mark@mark.mielke.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



view thread (29+ messages)  latest in thread

Message-ID: <1130792391.7026.55.camel@krb06.tradebot.com>
Permalink:  ../1130792391.7026.55.camel@krb06.tradebot.com/
Also on:    postgresql.org/message-id/1130792391.7026.55.camel@krb06.tradebot.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: kelly@tradebotsystems.com, tgl@sss.pgh.pa.us, merlin.moncure@rcsonline.com
  Subject: Re: 8.x index insert performance
  In-Reply-To: <1130792391.7026.55.camel@krb06.tradebot.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox