pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Brian Fehrle <brianf@consistentstate.com>
To: pgsql-admin@postgresql.org
Subject: Re: Hot standby having high requested checkpoints?
Date: Wed, 29 Feb 2012 08:14:45 -0700
Message-ID: <4F4E40E5.9040006@consistentstate.com> (raw)
In-Reply-To: <CAHGQGwF+g6c+eU1M9Lq-PfeEz8V525p1utyBUs8wj2xh7k=_Rw@mail.gmail.com>
References: <4F4D5AE0.9020204@consistentstate.com>
	<CAHGQGwF+g6c+eU1M9Lq-PfeEz8V525p1utyBUs8wj2xh7k=_Rw@mail.gmail.com>

I am taking periodic snapshots from the system view 'pg_stat_bgwriter' 
from both the master and the hot standby.

- Brian F

On 02/28/2012 09:22 PM, Fujii Masao wrote:
> On Wed, Feb 29, 2012 at 7:53 AM, Brian Fehrle
> <brianf@consistentstate.com>  wrote:
>> Hi all,
>>
>> I have two PostgreSQL 9.0.5 clusters, one is a master and the other is a hot
>> standby via streaming replication. I'm monitoring some stats on each and I'm
>> noticing something very odd. On the master, I get between 2 and 4 requested
>> checkpoints per hour, but on the hot standby I'm seeing between 200 and 300
>> requested checkpoints per hour.
> How did you get that information? Enable log_checkpoints?
>
> Regards,
>




view thread (7+ messages)  latest in thread

Message-ID: <4F4E40E5.9040006@consistentstate.com>
Permalink:  ../4F4E40E5.9040006@consistentstate.com/
Also on:    postgresql.org/message-id/4F4E40E5.9040006@consistentstate.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-admin@postgresql.org
  Cc: brianf@consistentstate.com
  Subject: Re: Hot standby having high requested checkpoints?
  In-Reply-To: <4F4E40E5.9040006@consistentstate.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