Re: good pc but bad performance,why? - Mailing list pgsql-performance

From Dennis Bjorklund
Subject Re: good pc but bad performance,why?
Date
Msg-id Pine.LNX.4.44.0404071152370.4551-100000@zigo.dhs.org
Whole thread Raw
In response to Re: good pc but bad performance,why?  (huang yaqin <hyq@gthome.com>)
List 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 by date:

Previous
From: Ken Geis
Date:
Subject: Re: plan problem
Next
From: "Steven Butler"
Date:
Subject: Re: good pc but bad performance,why?