Re: Speeding up operations - Mailing list pgsql-hackers

From Rod Taylor
Subject Re: Speeding up operations
Date
Msg-id 1060804075.11688.73.camel@jester
Whole thread Raw
In response to Speeding up operations  ("Rahul_Iyer" <rahul_iyer@persistent.co.in>)
List pgsql-hackers
> im on a project using Postgres. The project involves, at times, upto
> 5,000,000 inserts. I was checking the performance of Postgres for 5M inserts
> into a 2 column table (one col=integer, 2nd col=character). I used the
> Prepare... and execute method, so i basically had 5M execute statements and
> 1 prepare statement. Postgres took 144min for this... is there any way to
> improve this performance? if so, how? btw, im using it on a SPARC/Solaris
> 2.6.

7.4 beta2 will help -- when it comes out.

The fastest method will still be COPY.

pgsql-hackers by date:

Previous
From: "Rahul_Iyer"
Date:
Subject: Speeding up operations
Next
From: Frank Wiles
Date:
Subject: Re: Speeding up operations