pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Smith <greg@2ndquadrant.com>
To: Benjamin Krajmalnik <kraj@servoyant.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Configuration for a new server.
Date: Wed, 02 Feb 2011 13:22:55 -0500
Message-ID: <4D49A0FF.4010104@2ndquadrant.com> (raw)
In-Reply-To: <F4E6A2751A2823418A21D4A160B689887B0E51@fletch.stackdump.local>
References: <F4E6A2751A2823418A21D4A160B689887B0E2A@fletch.stackdump.local>
	<4D47F44D.2000305@2ndquadrant.com>
	<F4E6A2751A2823418A21D4A160B689887B0E39@fletch.stackdump.local>
	<4D48B06A.6020100@2ndquadrant.com>
	<F4E6A2751A2823418A21D4A160B689887B0E51@fletch.stackdump.local>

Benjamin Krajmalnik wrote:
> So, if I understand correctly, I should strive for a relative increase in buffers_clean to buffers_backend
>   

Right.  Buffers written by a backend are the least efficient way to get 
data out of the buffer cache, because the client running into that is 
stuck waiting for a write call before it can use the resuling free 
block.  You want to avoid those in favor of checkpoint and 
background-writer cleaner writes instead.

-- 
Greg Smith   2ndQuadrant US    greg@2ndQuadrant.com   Baltimore, MD
PostgreSQL Training, Services, and 24x7 Support  www.2ndQuadrant.us
"PostgreSQL 9.0 High Performance": http://www.2ndQuadrant.com/books




view thread (7+ messages)

Message-ID: <4D49A0FF.4010104@2ndquadrant.com>
Permalink:  ../4D49A0FF.4010104@2ndquadrant.com/
Also on:    postgresql.org/message-id/4D49A0FF.4010104@2ndquadrant.com

 · 

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, kraj@servoyant.com
  Subject: Re: Configuration for a new server.
  In-Reply-To: <4D49A0FF.4010104@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