Re: Improve BULK insertion - Mailing list pgsql-performance

From Josh Berkus
Subject Re: Improve BULK insertion
Date
Msg-id 200412041114.18460.josh@agliodbs.com
Whole thread Raw
In response to Improve BULK insertion  (Grupos <grupos@carvalhaes.net>)
List pgsql-performance
Rodrigo,

> I need to insert 500.000 records on a table frequently. It´s a bulk
> insertion from my applicatoin.
> I am with a very poor performance. PostgreSQL insert very fast until the
> tuple 200.000 and after it the insertion starts to be really slow.
> I am seeing on the log and there is a lot of transaction logs, something

In addition to what Chris Browne asked:
What's your transaction log setup?   Are your database transaction logs on a
seperate disk resource?   What is checkpoint_segments and checkpoint_timeout
set to?

--
Josh Berkus
Aglio Database Solutions
San Francisco

pgsql-performance by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: lock problem
Next
From: "Stacy White"
Date:
Subject: Partitioned table performance