Re: Speeding up operations

From: Rod Taylor <rbt(at)rbt(dot)ca>
To: Rahul_Iyer <rahul_iyer(at)persistent(dot)co(dot)in>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Speeding up operations
Date: 2003-08-13 19:47:56
Message-ID: 1060804075.11688.73.camel@jester
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-08-13 20:26:03 Re: Speeding up operations
Previous Message Frank Wiles 2003-08-13 19:47:12 Re: Speeding up operations