Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XhINB-0000JI-47 for pgsql-performance@arkaria.postgresql.org; Thu, 23 Oct 2014 13:24:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XhIN9-0006Sm-PM for pgsql-performance@arkaria.postgresql.org; Thu, 23 Oct 2014 13:24:11 +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 1XhIN8-0006Sf-Jw for pgsql-performance@postgresql.org; Thu, 23 Oct 2014 13:24:10 +0000 Received: from sam.nabble.com ([216.139.236.26]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XhIN0-0002nC-Kg for pgsql-performance@postgresql.org; Thu, 23 Oct 2014 13:24:08 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1XhIMy-0004A0-Ln for pgsql-performance@postgresql.org; Thu, 23 Oct 2014 06:24:00 -0700 Date: Thu, 23 Oct 2014 06:24:00 -0700 (PDT) From: pinker To: pgsql-performance@postgresql.org Message-ID: <1414070640656-5824026.post@n5.nabble.com> Subject: Checkpoints tuning MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.8 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org I have saved data from pg_stat_bgwriter view following Greg Smith's advice from his book: select now(),* from pg_stat_bgwriter; and then aggregated the data with query from his book as well. checkpoint segments was first 30 and next day I have increased it to 200, and results has changed: now percent of checkpoints required because of number of segments is bigger and backend writer share is also too high- I assume it's not what should happen. I'm not sure how to interpret correlation between allocation and written data? The bigger amount of data written per sec is a good sign? -- View this message in context: http://postgresql.1045698.n5.nabble.com/Checkpoints-tuning-tp5824026.html Sent from the PostgreSQL - performance mailing list archive at Nabble.com. -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance