Re: [GENERAL] Performance issues with compaq server

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: [GENERAL] Performance issues with compaq server
Дата
Msg-id 20020508112527.A17584@svana.org
обсуждение исходный текст
Ответ на Performance issues with compaq server  ("Samuel J. Sutjiono" <ssutjiono@wc-group.com>)
Ответы Re: [GENERAL] Performance issues with compaq server  (Holger Marzen <holger@marzen.de>)
Список 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 по дате отправления:

Предыдущее
От: jade
Дата:
Сообщение: postgresql 7.1 file descriptor
Следующее
От: Holger Marzen
Дата:
Сообщение: Re: [GENERAL] Performance issues with compaq server