From: Josh Berkus <josh@agliodbs.com>
To: pgsql-performance@postgresql.org
Cc: Grupos <grupos@carvalhaes.net>
Subject: Re: Improve BULK insertion
Date: Sat, 4 Dec 2004 11:14:18 -0800
Message-ID: <200412041114.18460.josh@agliodbs.com> (raw)
In-Reply-To: <41B1BE1B.10301@carvalhaes.net>
References: <41B1BE1B.10301@carvalhaes.net>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: josh@agliodbs.com, grupos@carvalhaes.net
Subject: Re: Improve BULK insertion
In-Reply-To: <200412041114.18460.josh@agliodbs.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox