Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id AA749632693 for ; Thu, 11 Feb 2010 15:06:42 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 04874-10 for ; Thu, 11 Feb 2010 19:06:20 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from outmail137143.authsmtp.com (outmail137143.authsmtp.com [62.13.137.143]) by mail.postgresql.org (Postfix) with ESMTP id 8E7B263224F for ; Thu, 11 Feb 2010 15:06:31 -0400 (AST) Received: from mail-c187.authsmtp.com (mail-c187.authsmtp.com [62.13.128.33]) by punt6.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id o1BJ6OkO085049; Thu, 11 Feb 2010 19:06:24 GMT Received: from [192.168.1.8] (c-68-33-3-167.hsd1.md.comcast.net [68.33.3.167]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id o1BJ6Jbr058595; Thu, 11 Feb 2010 19:06:19 GMT Subject: Re: Re: [COMMITTERS] pgsql: Remove old-style VACUUM FULL (which was known for a little while From: Simon Riggs To: Robert Haas Cc: Tom Lane , Heikki Linnakangas , Andres Freund , pgsql-hackers@postgresql.org In-Reply-To: <603c8f071002111042y40971cfbod4628a2028925d67@mail.gmail.com> References: <20100208043355.412637541B9@cvs.postgresql.org> <1265883032.7341.1149.camel@ebony> <201002111204.10183.andres@anarazel.de> <4B73FDC8.3050208@enterprisedb.com> <1265894548.7341.1521.camel@ebony> <10339.1265905658@sss.pgh.pa.us> <1265913196.7341.2334.camel@ebony> <603c8f071002111042y40971cfbod4628a2028925d67@mail.gmail.com> Content-Type: text/plain Date: Thu, 11 Feb 2010 19:03:08 +0000 Message-Id: <1265914988.7341.2408.camel@ebony> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Server-Quench: 8a045641-1740-11df-ab46-001185d377ca X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCdxZQATClZOTQEd DAteCiN5VAwpPBRK HVkIKg5MJUcNSQVJ NksacxtFaQRba1xT HGQLWlREUVR7WWV/ aQofaw1DYUlQXBtr Vk9WR1pVCwUmXh1z fBhkAFtycg1DcXs+ ZEZgVnAVVBV6cUN7 Rk9JFGoCZXphaTRJ TREKcwVJcANLfxdA PlN4UyBcLwdSbGoL PyYYHB0LBgAXEikH CjImCnc3YHo3MwQH clgaEi42GR9NfSg2 KAIrYlkYEAMKLlQ2 PBMfcHklDjpaJDB6 OyMFQDBZJlIBDzUi FktZW0kBFnVTRj0U C1UsIwNUBjEaRSpZ AEYt X-Authentic-SMTP: 61633235383639.1000:706/Kp X-AuthFastPath: 255 X-Virus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.493 tagged_above=-10 required=5 tests=AWL=0.106, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201002/918 X-Sequence-Number: 157261 On Thu, 2010-02-11 at 13:42 -0500, Robert Haas wrote: > On Thu, Feb 11, 2010 at 1:33 PM, Simon Riggs wrote: > > Avoiding a scan before running pg_upgrade is just a performance > > optimisation. > > But using pg_upgrade AT ALL is also a performance optimization; in > fact AFAICS it's the only reason to use pg_upgrade. So if you take > that away there's no reason to use it at all. I understand that the final process to switch from one release to another needs to be quick. Before that we can have any number of preparatory steps. One of those is backup, if you're sane. Another one should be a preparatory step that can be performed while the database is still on-line that checks that everything is in a good state for upgrade. No corruptions, no weird flags, everything good. If that last step is part of all upgrade procedures, including both minor and major we will all be happier and healthier. And the server can depend on that check and doesn't need to check itself for those weirdnesses from an earlier era. -- Simon Riggs www.2ndQuadrant.com