Re: [HACKERS] fsync vs open_sync - Mailing list pgsql-performance

From Merlin Moncure
Subject Re: [HACKERS] fsync vs open_sync
Date
Msg-id 6EE64EF3AB31D5448D0007DD34EEB3412A7446@Herge.rcsinc.local
Whole thread Raw
Responses Re: [HACKERS] fsync vs open_sync  (pgsql@mohawksoft.com)
Re: [HACKERS] fsync vs open_sync  (Josh Berkus <josh@agliodbs.com>)
List pgsql-performance
> Anyway, with fsync enabled using standard fsync(), I get roughly
300-400
> inserts per second. With fsync disabled, I get about 7000 inserts per
> second. When I re-enable fsync but use the open_sync option, I can get
> about 2500 inserts per second.

You are getting 300-400 inserts/sec with fsync on?  If you don't mind me
asking, what's your hardware?  (also, have you checked fsync on #s with
the new bgwriter in 7.5?)

Merlin



pgsql-performance by date:

Previous
From: Alex Hayward
Date:
Subject: Re: Performance Bottleneck
Next
From: CoL
Date:
Subject: Re: The black art of postgresql.conf tweaking