Re: Improve BULK insertion

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Cc: Grupos <grupos(at)carvalhaes(dot)net>
Subject: Re: Improve BULK insertion
Date: 2004-12-04 19:14:18
Message-ID: 200412041114.18460.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Stacy White 2004-12-05 02:45:44 Partitioned table performance
Previous Message Stephan Szabo 2004-12-04 17:34:31 Re: lock problem