Re: Fsync on/off For Various Filesystems/Platforms (Ending Note)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mark kirkwood <markir(at)slingshot(dot)co(dot)nz>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Fsync on/off For Various Filesystems/Platforms (Ending Note)
Date: 2002-03-09 15:37:58
Message-ID: 4146.1015688278@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Mark kirkwood <markir(at)slingshot(dot)co(dot)nz> writes:
> I forgot to mention :
> 1) the test involved usng copy to load the rows !

Still not much help. Was it a single COPY command, or a bunch of them?

The fsync overhead is (and always has been) a per-transaction cost,
so a benchmark that gives you no idea how many transactions were
committed isn't much help. Also, if there was only one transaction
commit in your 5-minute benchmark run, then I can see why fsync would
be pretty irrelevant ... try something with one commit per inserted
row if you want to see a bigger penalty ...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Francisco Reyes 2002-03-09 15:54:20 Re: decimal(5) vs int8. Which more efficient.
Previous Message Tom Lane 2002-03-09 15:28:23 Re: How to check for successfull inserts