Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-performance by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group