Re: Buld Insert and Index use.

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: tech(at)wildcash(dot)com, pgsql-performance(at)postgresql(dot)org
Subject: Re: Buld Insert and Index use.
Date: 2004-08-12 00:25:55
Message-ID: 200408111725.55270.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Jason Coene 2004-08-12 00:29:04 Re: Hardware upgrade for a high-traffic database
Previous Message Gaetano Mendola 2004-08-12 00:06:31 Re: [HACKERS] fsync vs open_sync