pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kelly Burkhart <kelly@tradebotsystems.com>
To: Merlin Moncure <merlin.moncure@rcsonline.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: 8.x index insert performance
Date: Mon, 31 Oct 2005 11:51:46 -0600
Message-ID: <1130781106.7026.46.camel@krb06.tradebot.com> (raw)
In-Reply-To: <6EE64EF3AB31D5448D0007DD34EEB3417DD725@Herge.rcsinc.local>
References: <6EE64EF3AB31D5448D0007DD34EEB3417DD725@Herge.rcsinc.local>

On Mon, 2005-10-31 at 12:32 -0500, Merlin Moncure wrote:
> well, can you defer index generation until after loading the set (or use
> COPY?)

I cannot defer index generation.

We are using the copy API.  Copying 10000 rows in a batch.

> 
> if that index is causing the problem, you may want to consider setting
> up partial index to exclude null values.

This is a single column index.  I assumed that null column values were
not indexed.  Is my assumption incorrect?

-K



view thread (29+ messages)  latest in thread

Message-ID: <1130781106.7026.46.camel@krb06.tradebot.com>
Permalink:  ../1130781106.7026.46.camel@krb06.tradebot.com/
Also on:    postgresql.org/message-id/1130781106.7026.46.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, merlin.moncure@rcsonline.com
  Subject: Re: 8.x index insert performance
  In-Reply-To: <1130781106.7026.46.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