Re: Performance issues with compaq server
Martijn van Oosterhout <kleptog@svana.org>
From: Martijn van Oosterhout <kleptog@svana.org>
To: "Samuel J. Sutjiono" <ssutjiono@wc-group.com>
Cc: pgsql-general@postgresql.org, pgsql-sql@postgresql.org
Date: 2002-05-08T01:25:27Z
Lists: pgsql-general, 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