Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 1A4681A3BCAE for ; Wed, 29 Feb 2012 11:18:40 -0400 (AST) Received: from mail-pz0-f46.google.com ([209.85.210.46]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1S2lId-00060N-Vg for pgsql-admin@postgresql.org; Wed, 29 Feb 2012 15:18:40 +0000 Received: by dajr28 with SMTP id r28so622766daj.33 for ; Wed, 29 Feb 2012 07:18:27 -0800 (PST) Received-SPF: pass (google.com: domain of brianf@consistentstate.com designates 10.68.211.202 as permitted sender) client-ip=10.68.211.202; Authentication-Results: mr.google.com; spf=pass (google.com: domain of brianf@consistentstate.com designates 10.68.211.202 as permitted sender) smtp.mail=brianf@consistentstate.com Received: from mr.google.com ([10.68.211.202]) by 10.68.211.202 with SMTP id ne10mr7551883pbc.164.1330528707015 (num_hops = 1); Wed, 29 Feb 2012 07:18:27 -0800 (PST) Received: by 10.68.211.202 with SMTP id ne10mr6422534pbc.164.1330528706960; Wed, 29 Feb 2012 07:18:26 -0800 (PST) Received: from sidon.consistentstate.com (173-164-51-9-colorado.hfc.comcastbusiness.net. [173.164.51.9]) by mx.google.com with ESMTPS id p9sm18918033pbb.9.2012.02.29.07.18.25 (version=SSLv3 cipher=OTHER); Wed, 29 Feb 2012 07:18:25 -0800 (PST) Message-ID: <4F4E40E5.9040006@consistentstate.com> Date: Wed, 29 Feb 2012 08:14:45 -0700 From: Brian Fehrle User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.26) Gecko/20120129 Lightning/1.0b2 Thunderbird/3.1.18 MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: Hot standby having high requested checkpoints? References: <4F4D5AE0.9020204@consistentstate.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQkqN6u5+h7PezRfDukyte/1e+BtPloCIVa4fytdNTnOYD9DeVSn44RBCn4x1g8gDEONqyF+ X-Pg-Spam-Score: -2.6 (--) X-Archive-Number: 201202/125 X-Sequence-Number: 39185 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 > 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, >