Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group