Re: Hot standby having high requested checkpoints?

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Brian Fehrle <brianf(at)consistentstate(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Hot standby having high requested checkpoints?
Date: 2012-03-01 08:35:01
Message-ID: CA+U5nMKcy_wkzJdpwsjyaa76ucyw0FkDhdXnMCypbAwPF0JSEQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Tue, Feb 28, 2012 at 10:53 PM, Brian Fehrle
<brianf(at)consistentstate(dot)com> wrote:

> 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.

We don't do a restartpoint on the standby unless we see a checkpoint
record, so that result should be impossible.

So I'm guessing you're reading the stats wrong?

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Matheus de Oliveira 2012-03-01 09:56:05 Re: Can't recover data from a .tar.gz file which was backed up using COPY BINARY command
Previous Message Khangelani Gama 2012-03-01 07:51:57 Can't recover data from a .tar.gz file which was backed up using COPY BINARY command