Re: Buld Insert and Index use. - Mailing list pgsql-performance

From Josh Berkus
Subject Re: Buld Insert and Index use.
Date
Msg-id 200408111725.55270.josh@agliodbs.com
Whole thread Raw
In response to Buld Insert and Index use.  (Rudi Starcevic <tech@wildcash.com>)
List 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


pgsql-performance by date:

Previous
From: Gaetano Mendola
Date:
Subject: Re: [HACKERS] fsync vs open_sync
Next
From: "Jason Coene"
Date:
Subject: Re: Hardware upgrade for a high-traffic database