pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: Greg Smith <greg@2ndquadrant.com>
Cc: Craig James <craig_james@emolecules.com>
Cc: Matthew Wakeling <matthew@flymine.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: Weird XFS WAL problem
Date: Fri, 4 Jun 2010 11:18:10 -0400 (EDT)
Message-ID: <201006041518.o54FIA107844@momjian.us> (raw)
In-Reply-To: <4C08D2890200002500031F54@gw.wicourts.gov>

Kevin Grittner wrote:
> Bruce Momjian <bruce@momjian.us> wrote:
>  
> > On another topic, I am a little unclear on how things behave when
> > the drive is write-back. If the RAID controller card writes to the
> > drive, but the data isn't on the platers, how does it know when it
> > can discard that information from the BBU RAID cache?
>  
> The controller waits for the drive to tell it that it has made it to
> the platter before it discards it.  What made you think otherwise?

Because a write-back drive cache says it is on the drive before it hits
the platters, which I think is the default for SATA drive.  Is that
inaccurate?

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + None of us is going to be here forever. +



view thread (25+ messages)  latest in thread

Message-ID: <201006041518.o54FIA107844@momjian.us>
Permalink:  ../201006041518.o54FIA107844@momjian.us/
Also on:    postgresql.org/message-id/201006041518.o54FIA107844@momjian.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: bruce@momjian.us, Kevin.Grittner@wicourts.gov, greg@2ndquadrant.com, craig_james@emolecules.com, matthew@flymine.org
  Subject: Re: Weird XFS WAL problem
  In-Reply-To: <201006041518.o54FIA107844@momjian.us>
  References: <4C08D2890200002500031F54@gw.wicourts.gov> <201006041518.o54FIA107844@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox