Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XW7yQ-0003bQ-Vb for pgsql-admin@arkaria.postgresql.org; Mon, 22 Sep 2014 18:04:31 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XW7yQ-0001ZK-AC for pgsql-admin@arkaria.postgresql.org; Mon, 22 Sep 2014 18:04:30 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XW7yP-0001ZD-63 for pgsql-admin@postgresql.org; Mon, 22 Sep 2014 18:04:29 +0000 Received: from eisentraut.org ([85.214.91.16] helo=gattler.pezone.net) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XW7yL-0005H0-HQ for pgsql-admin@postgresql.org; Mon, 22 Sep 2014 18:04:27 +0000 Received: from jesse.mybdev.com (unknown [204.145.120.11]) by gattler.pezone.net (Postfix) with ESMTPSA id 07EF059000B; Mon, 22 Sep 2014 18:04:22 +0000 (UTC) Message-ID: <542064A4.4020101@gmx.net> Date: Mon, 22 Sep 2014 14:04:20 -0400 From: Peter Eisentraut User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: "Huang, Suya" , "pgsql-admin@postgresql.org" Subject: Re: How to interpret view pg_stat_bgwriter References: <5419F1CC.8060309@gmx.net> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org On 9/19/14 1:54 AM, Huang, Suya wrote: > How to compare buffers_backend against buffers_checkpoint? This is a very general question, but generally you want buffers_backend to be as small as possible. > Below is some statistics of check point activities happened on the day while backend is loading data: > > Day Hour Written buffers Write time Sync time Total time > 06 107,338 1,475.583s 3.142s 1,478.828s > 07 601,672 1,041.482s 348.215s 1,390.153s > 08 3,613 361.422s 0.053s 361.535s > 09 1,006,704 1,456.898s 14.501s 1,471.545s > 10 1,116,463 1,987.896s 6.164s 1,995.11s > > Can we tell something about the configuration? If this is while loading data, there isn't much to say. I'd be worried about the 348s sync time if this were during normal transaction processing load. -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin