pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: tech@wildcash.com
To: pgsql-performance@postgresql.org
Subject: Re: Buld Insert and Index use.
Date: Wed, 11 Aug 2004 17:25:55 -0700
Message-ID: <200408111725.55270.josh@agliodbs.com> (raw)
In-Reply-To: <411AB302.809@wildcash.com>
References: <411AB302.809@wildcash.com>

Rudi,

> Do you think an Index or Seq. scan should be used?

That was way too much data for way too simple a question.  ;-)
The answer is: depends on how many rows you have.   With any significant 
number of rows, yes.

However, you probably only need to index the first 3-5 columns; that's 
selective enough.

-- 
-Josh Berkus
 "A developer of Very Little Brain"
 Aglio Database Solutions
 San Francisco




view thread (2+ messages)

Message-ID: <200408111725.55270.josh@agliodbs.com>
Permalink:  ../200408111725.55270.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200408111725.55270.josh@agliodbs.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: josh@agliodbs.com, tech@wildcash.com
  Subject: Re: Buld Insert and Index use.
  In-Reply-To: <200408111725.55270.josh@agliodbs.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