Re: good pc but bad performance,why?

Поиск
Список
Период
Сортировка
От Dennis Bjorklund
Тема Re: good pc but bad performance,why?
Дата
Msg-id Pine.LNX.4.44.0404071152370.4551-100000@zigo.dhs.org
обсуждение исходный текст
Ответ на Re: good pc but bad performance,why?  (huang yaqin <hyq@gthome.com>)
Список pgsql-performance
On Wed, 7 Apr 2004, huang yaqin wrote:

> You said turning fsync off may cause losing data, that's terrible. I use
> SCSI disk, and file system is ext3. I tune postgresql.conf and can't get
> any improvement. So what can I do?

Make sure you do as much as possible inside one transaction. If you want
to do 1000 inserts, then do BEGIN; insert ....; insert; ... ; COMMIT;

--
/Dennis Björklund


В списке pgsql-performance по дате отправления:

Предыдущее
От: Ken Geis
Дата:
Сообщение: Re: plan problem
Следующее
От: "Steven Butler"
Дата:
Сообщение: Re: good pc but bad performance,why?