Re: [GENERAL] Performance issues with compaq server - Mailing list pgsql-sql

From Martijn van Oosterhout
Subject Re: [GENERAL] Performance issues with compaq server
Date
Msg-id 20020508112527.A17584@svana.org
Whole thread Raw
In response to Performance issues with compaq server  ("Samuel J. Sutjiono" <ssutjiono@wc-group.com>)
Responses Re: [GENERAL] Performance issues with compaq server  (Holger Marzen <holger@marzen.de>)
List pgsql-sql
On Tue, May 07, 2002 at 06:40:32PM -0400, Samuel J. Sutjiono wrote:

> I tried to load data using insert statement to our new database server
> (Compaq DL580, DL590, DL380 using SCSI driver) but it was very very slow.
> The database runs on Red Hat Linux 7.2 and PostgreSQL version 7.1.3
>
> Does anybody know any idea to what cause this problem ? or things that I
> need to look or check (in the config. file)

Put them in a trasaction (begin/commit). Without that, each insert becomes
it's own transaction which is rather expensive. Postgresql 7.2 improves this
a bit but the transaction will help anyway.

HTH,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Canada, Mexico, and Australia form the Axis of Nations That
> Are Actually Quite Nice But Secretly Have Nasty Thoughts About America

pgsql-sql by date:

Previous
From: jade
Date:
Subject: postgresql 7.1 file descriptor
Next
From: Holger Marzen
Date:
Subject: Re: [GENERAL] Performance issues with compaq server