pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Greg Smith <greg@2ndQuadrant.com>
To: pgsql-performance@postgresql.org
Subject: Re: UPDATEDs slowing SELECTs in a fully cached database
Date: Sun, 17 Jul 2011 20:44:03 -0400
Message-ID: <4E2381D3.9020201@2ndQuadrant.com> (raw )
In-Reply-To: <CAMkU=1xFsFC+SR0LbqoJhkK=_KHynWo58YGMZSBdBtuQDzXxCQ@mail.gmail.com >
References: <4E16479D.3050605@yahoo.com >
<4E1A0CBC.6090009@yahoo.com >
<4E1A31AB.9010201@postnewspapers.com.au >
<1310359653.80687.YahooMailRC@web121705.mail.ne1.yahoo.com >
<4E1AEDAB020000250003F1C3@gw.wicourts.gov >
<4E1B41EA.90104@yahoo.com >
<4E1B05CC020000250003F1E6@gw.wicourts.gov >
<CAHyXU0wPhZsQ_pMzfUWW0O=t_+2uwF-CJQNw-nuaxkjbi2zPEQ@mail.gmail.com >
<4E1B810D.4070404@yahoo.com >
<4E1B90AF.1020408@yahoo.com >
<ivho9v$6dp$1@dough.gmane.org >
<4E1C9A05.7060005@yahoo.com >
<4E1C5563020000250003F252@gw.wicourts.gov >
<4E1CA8E9.6090108@yahoo.com >
<4E1CB56E.7080801@yahoo.com >
<4E1D697C020000250003F29A@gw.wicourts.gov >
<4E1DE28D.6020207@yahoo.com >
<4E1DA0C2020000250003F2B1@gw.wicourts.gov >
<4E1E1F0C.70005@yahoo.com >
<CAMkU=1z2oriZAv4D2hb55+PX=Q5j8dfxpaZpHhGuYic168B18A@mail.gmail.com >
<4E20D988.3040007@yahoo.com >
<CAMkU=1xFsFC+SR0LbqoJhkK=_KHynWo58YGMZSBdBtuQDzXxCQ@mail.gmail.com >
On 07/16/2011 06:33 PM, Jeff Janes wrote:
> 2.6 ms for an fsync seems awfully quick. I wonder if EBS uses
> nonvolatile/battery-backed write cache, or if it just lies about fsync
> actually hitting disk.
>
They have the right type of cache in there to make fsync quick, when you
happen to be the lucky one to find it free of a write backlog. So the
best case is much better than a typical spinning drive with no such
cache. The worst case is in the 100ms+ range though on EBS.
--
Greg Smith 2ndQuadrant US greg@2ndQuadrant.com Baltimore, MD
view thread (57+ messages) latest in thread
Message-ID: <4E2381D3.9020201@2ndQuadrant.com>
Permalink: ../4E2381D3.9020201@2ndQuadrant.com/
Also on: postgresql.org/message-id/4E2381D3.9020201@2ndQuadrant.com
copy link · copy postgr.es
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: greg@2ndQuadrant.com
Subject: Re: UPDATEDs slowing SELECTs in a fully cached database
In-Reply-To: <4E2381D3.9020201@2ndQuadrant.com>
* 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