Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id B4871FA6B9C for ; Thu, 22 Mar 2012 09:39:26 -0300 (ADT) Received: from rs133.luxsci.com ([72.32.115.26]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SAhIb-0004b6-F8 for pgsql-performance@postgresql.org; Thu, 22 Mar 2012 12:39:26 +0000 Received: from GNANAM (NSG-Static-233.156.72.182.airtel.in [182.72.156.233] (may be forged)) (authenticated bits=0) by rs133.luxsci.com (8.13.8/8.13.8) with ESMTP id q2MCcbP3020917; Thu, 22 Mar 2012 07:39:07 -0500 Reply-To: From: "Gnanakumar" To: "'Tomas Vondra'" Cc: "'Vitalii Tymchyshyn'" , References: <006301cd07fd$358ebe40$a0ac3ac0$@com> <4F6AF3FE.30407@gmail.com> <008e01cd0817$06418680$12c49380$@com> <1bbfac04d1ec4a2708e47593dc84ba8c.squirrel@sq.gransy.com> <00b601cd0824$c8dfd6d0$5a9f8470$@com> In-Reply-To: <00b601cd0824$c8dfd6d0$5a9f8470$@com> Subject: Re: Write workload is causing severe slowdown in Production Date: Thu, 22 Mar 2012 18:08:18 +0530 Organization: Zoniac Software Private Limited Message-ID: <00bd01cd0828$accc8110$06658330$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac0IGJQRxpVW+ByNQByMQHjEErYfCwACyOeQAADsUhA= Content-Language: en-us X-Lux-Comment: Message q2MCcbP3020917 sent by user #22393 X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201203/145 X-Sequence-Number: 46595 > There's a checkpoint_warning option. Set it to 3600 and you should get = messages in the log. I've a basic question about setting "checkpoint_warning" configuration. = 8.2 doc = (http://www.postgresql.org/docs/8.2/interactive/runtime-config-wal.html) = says: "Write a message to the server log if checkpoints caused by the filling = of checkpoint segment files happen closer together than this many = seconds (which suggests that checkpoint_segments ought to be raised). = The default is 30 seconds (30s)." How does increasing the default 30s to 3600s (which is 1 hour or 60 = minutes) print messages to the log? Even after reading the description = from above doc, am not able to get this point clearly. Can you help me = in understanding this?