Re: [PATCHES] O_DIRECT for WAL writes

From: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Curt Sampson <cjs(at)cynic(dot)net>, Greg Stark <gsstark(at)mit(dot)edu>, ITAGAKI Takahiro <itagaki(dot)takahiro(at)lab(dot)ntt(dot)co(dot)jp>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCHES] O_DIRECT for WAL writes
Date: 2005-06-23 04:47:40
Message-ID: Pine.LNX.4.58.0506231446210.21186@linuxworld.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Thu, 23 Jun 2005, Tom Lane wrote:

> Gavin Sherry <swm(at)linuxworld(dot)com(dot)au> writes:
> >> Curt Sampson <cjs(at)cynic(dot)net> writes:
> >>> But is it really a problem? I somewhere got the impression that some
> >>> drives, on power failure, will be able to keep going for long enough to
> >>> write out the cache and park the heads anyway. If so, the drive is still
> >>> guaranteeing the write.
>
> > I've seen discussion about disks behaving this way. There's no magic:
> > they're battery backed.
>
> Oh, sure, then it's easy ;-)
>
> The bottom line here seems to be the same as always: you can't run an
> industrial strength database on piece-of-junk consumer grade hardware.
> Our problem is that because the software is free, people expect to run
> it on bottom-of-the-line Joe Bob's Bait And PC Shack hardware, and then
> they blame us when they don't get the same results as the guy running
> Oracle on million-dollar triply-redundant server hardware. Oh well.

If you ever need a second job, I recommend stand up comedy :-).

Gavin

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Curt Sampson 2005-06-23 05:04:59 Re: [PATCHES] O_DIRECT for WAL writes
Previous Message Tom Lane 2005-06-23 04:44:25 Re: HaveNFreeProcs ?

Browse pgsql-patches by date

  From Date Subject
Next Message Curt Sampson 2005-06-23 05:04:59 Re: [PATCHES] O_DIRECT for WAL writes
Previous Message Tom Lane 2005-06-23 04:33:35 Re: [PATCHES] O_DIRECT for WAL writes