From: Chris <dmagick@gmail.com>
To: Francisco Reyes <lists@stringsutils.com>
Cc: Pgsql performance <pgsql-performance@postgresql.org>
Subject: Re: Inserts optimization?
Date: Thu, 13 Apr 2006 11:19:17 +1000
Message-ID: <443DA715.4060606@gmail.com> (raw)
In-Reply-To: <cone.1144888738.434948.92126.5001@35st-server.simplicato.com>
References: <cone.1144888738.434948.92126.5001@35st-server.simplicato.com>
Francisco Reyes wrote:
> Doing my first write heavy database.
> What settings will help improve inserts?
> Only a handfull of connections, but each doing up to 30 inserts/second.
> Plan to have 2 to 3 clients which most of the time will not run at the
> same time, but ocasionaly it's possible two of them may bump into each
> other.
If you can, use copy instead:
http://www.postgresql.org/docs/8.1/interactive/sql-copy.html
MUCH quicker (and don't worry about using multiple clients).
--
Postgresql & php tutorials
http://www.designmagick.com/
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: dmagick@gmail.com, lists@stringsutils.com
Subject: Re: Inserts optimization?
In-Reply-To: <443DA715.4060606@gmail.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