From: Jim C. Nasby <jnasby@pervasive.com>
To: Aldor <an@mediaroot.de>
Cc: Postgres Admin <postgres@productivitymedia.com>
Cc: PostgreSQL - Admin <pgsql-admin@postgresql.org>
Cc: PostgreSQL - PHP <pgsql-php@postgresql.org>
Cc: PostgreSQL - SQL <pgsql-sql@postgresql.org>
Subject: Re: [PHP] Data insert
Date: Mon, 22 Aug 2005 19:57:52 -0500
Message-ID: <20050823005752.GI17203@pervasive.com> (raw)
In-Reply-To: <4308129A.6030009@mediaroot.de>
References: <430765C3.9090309@productivitymedia.com>
<4308129A.6030009@mediaroot.de>
On Sun, Aug 21, 2005 at 06:35:22AM +0100, Aldor wrote:
> if you want to insert biiig data volumes try either using COPY instead
> of INSERT - it will run much much faster
And if for some reason you have to stick with inserts, group them into
transactions; it will perform much better than individual transactions.
--
Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com
Pervasive Software http://pervasive.com 512-569-9461
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-admin@postgresql.org
Cc: jnasby@pervasive.com, an@mediaroot.de, postgres@productivitymedia.com, pgsql-php@postgresql.org, pgsql-sql@postgresql.org
Subject: Re: [PHP] Data insert
In-Reply-To: <20050823005752.GI17203@pervasive.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