From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Evgeny Rodichev <er(at)sai(dot)msu(dot)su> |
Cc: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Magnus Hagander <mha(at)sollentuna(dot)net>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: win32 performance - fsync question |
Date: | 2005-02-17 20:01:09 |
Message-ID: | 10347.1108670469@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Evgeny Rodichev <er(at)sai(dot)msu(dot)su> writes:
>> Any claimed TPS rate exceeding your disk drive's rotation rate is a
>> red flag.
> Write cache is enabled under Linux by default all the time I make deal
> with it (since 1993).
You're playing with fire.
> fsync() really works fine as I switch off my notebook everyday 2-3 times,
> and never had any data loss :)
Given that it's a notebook, it's possible that the hardware is smart
enough not to power down the disk until the disk is done writing
everything it's cached. Do you care to try some experiments with
pulling out the battery while Postgres is busy making updates?
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2005-02-17 20:06:22 | Re: win32 performance - fsync question |
Previous Message | Evgeny Rodichev | 2005-02-17 19:54:22 | Re: win32 performance - fsync question |