Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Uzu3l-0004dz-MM for pgsql-hackers@arkaria.postgresql.org; Thu, 18 Jul 2013 19:40:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Uzu3k-0000iX-E9 for pgsql-hackers@arkaria.postgresql.org; Thu, 18 Jul 2013 19:40:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Uzu3j-0000iA-8u for pgsql-hackers@postgresql.org; Thu, 18 Jul 2013 19:40:15 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Uzu3g-0003T4-JM for pgsql-hackers@postgresql.org; Thu, 18 Jul 2013 19:40:14 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 5D7AA5F766; Thu, 18 Jul 2013 15:40:24 -0400 (EDT) Date: Thu, 18 Jul 2013 15:40:24 -0400 From: Stephen Frost To: Greg Smith Cc: Alvaro Herrera , Robert Haas , Heikki Linnakangas , KONDO Mitsumasa , PostgreSQL-development Subject: Re: Improvement of checkpoint IO scheduler for stable transaction responses Message-ID: <20130718194024.GR15510@tamriel.snowman.net> References: <51C40EF4.1080201@lab.ntt.co.jp> <51C9D03B.10107@vmware.com> <51C9FD5C.5050706@vmware.com> <51E2F865.8030406@2ndQuadrant.com> <51E80CBC.10204@2ndQuadrant.com> <20130718160045.GN4165@eldon.alvh.no-ip.org> <51E82288.8080502@2ndQuadrant.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Sf3MmCJcUNNLokcm" Content-Disposition: inline In-Reply-To: <51E82288.8080502@2ndQuadrant.com> X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.8.0-25-generic (x86_64) X-Uptime: 15:33:32 up 5 days, 15:43, 4 users, load average: 0.06, 0.06, 0.05 User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -2.2 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org --Sf3MmCJcUNNLokcm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline * Greg Smith (greg@2ndQuadrant.com) wrote: > The first word that comes to mind for for just disregarding the end > time is that it's a sloppy checkpoint. There is all sorts of sloppy > behavior you might do here, but I've worked under the assumption > that ignoring the contract with the administrator was frowned on by > this project. If people want this sort of behavior in the server, > I'm satisfied my distaste for the idea and the reasoning behind it > is clear now. For my part, I agree with Greg on this. While we might want to provide an option of "go ahead and go past checkpoint timeout if the server gets too busy to keep up", I don't think it should be the default. To be honest, I'm also not convinced that this approach is better than the existing mechanism where the user can adjust checkpoint_timeout to be higher if they're ok with recovery taking longer and I share Greg's concern about this backoff potentially running away and causing checkpoints which never complete or do so far outside the configured time. Thanks, Stephen --Sf3MmCJcUNNLokcm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlHoRKgACgkQrzgMPqB3kiicQACeMb7UyCoNGLWsr09eAVlo0rat ZWcAn17mfpetFBU7zYEuXveve9O4yz9H =FXQs -----END PGP SIGNATURE----- --Sf3MmCJcUNNLokcm--