pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ivan Voras <ivoras@freebsd.org>
To: pgsql-performance@postgresql.org
Subject: Re: UPDATEDs slowing SELECTs in a fully cached database
Date: Tue, 12 Jul 2011 15:22:46 +0200
Message-ID: <ivhhr6$rin$1@dough.gmane.org> (raw)
In-Reply-To: <4E16479D.3050605@yahoo.com>
References: <4E16479D.3050605@yahoo.com>

On 08/07/2011 01:56, lars wrote:

> Setup:
> PostgreSQL 9.1beta2 on a high memory (~68gb, 12 cores) EC2 Linux
> instance (kernel 2.6.35) with the database and
> WAL residing on the same EBS volume with EXT4 (data=ordered, barriers=1)
> - yes that is not an ideal setup
> (WAL should be on separate drive, EBS is slow to begin, etc), but I am
> mostly interested in read performance for a fully cached database.

I know you said you know these things - but do you really know the 
(huge) extent to which all your IO is slowed? Even context switches in a 
virtualized environment are slowed down by a huge margin - which would 
make practically all in-memory lock operations very slow - much slower 
than they would be on "real" hardware, and EBS by definition is even 
slower then regular private virtual storage environments. I regrettably 
didn't bookmark the page which did exact measurements of EBS, but 
http://www.google.com/search?q=how+slow+is+ec2 will illustrate my point. 
(of course, you may already know all this :) ).





view thread (57+ messages)  latest in thread

Message-ID: <ivhhr6$rin$1@dough.gmane.org>
Permalink:  ../ivhhr6$rin$1@dough.gmane.org/
Also on:    postgresql.org/message-id/ivhhr6$rin$1@dough.gmane.org

 · 

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: ivoras@freebsd.org
  Subject: Re: UPDATEDs slowing SELECTs in a fully cached database
  In-Reply-To: <ivhhr6$rin$1@dough.gmane.org>

* 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