X-Original-To: pgsql-hackers-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 6148D9FB1EA for ; Fri, 15 Sep 2006 09:44:47 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 64856-06 for ; Fri, 15 Sep 2006 09:44:31 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.logix-tt.com (mail.logix-tt.com [212.211.145.186]) by postgresql.org (Postfix) with ESMTP id E66689FB1E4 for ; Fri, 15 Sep 2006 09:44:30 -0300 (ADT) Received: from kingfisher.intern.logix-tt.com (84-72-188-217.dclient.hispeed.ch [84.72.188.217]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.logix-tt.com (Postfix) with ESMTP id BDA5C6597B; Fri, 15 Sep 2006 14:46:45 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by kingfisher.intern.logix-tt.com (Postfix) with ESMTP id D4A1E18532B30; Fri, 15 Sep 2006 14:44:32 +0200 (CEST) Message-ID: <450AA02C.60000@logix-tt.com> Date: Fri, 15 Sep 2006 14:44:28 +0200 From: Markus Schaber Organization: Logical Tracking and Tracing International AG, Switzerland User-Agent: Thunderbird 1.5.0.5 (X11/20060812) MIME-Version: 1.0 To: andrew@supernews.com Cc: pgsql-hackers@postgresql.org Subject: Re: [ADMIN] Vacuum error on database postgres References: <44F82150.5000809@pnlassociates.com> <4001.1157121669@sss.pgh.pa.us> <27602.1158238299@sss.pgh.pa.us> <45095CDD.8090704@squeakycode.net> <29469.1158247230@sss.pgh.pa.us> <45097CF4.7040409@commandprompt.com> <3024.1158266129@sss.pgh.pa.us> <450A815C.6000709@logix-tt.com> In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enig2BF9ECD02736BC93ADD919FB" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.202 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200609/1233 X-Sequence-Number: 90762 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2BF9ECD02736BC93ADD919FB Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Hi, Andrew, Andrew - Supernews wrote: >> Is there any reason to allow ANALYZE run insinde a transaction at all?= >=20 > Absolutely. In a large transaction that radically changes the content o= f > the database, it is often necessary to analyze in order to avoid gettin= g > extremely bad query plans for later commands in the transaction. OK, I see. But this leads to the danger that, should the transaction abort afterwards, we're left with borked stats, or are those rolled back accordingly? Markus --=20 Markus Schaber | Logical Tracking&Tracing International AG Dipl. Inf. | Software Development GIS Fight against software patents in Europe! www.ffii.org www.nosoftwarepatents.org --------------enig2BF9ECD02736BC93ADD919FB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFCqAwyHQIGEs7eeARAx4dAJ9pGJOem5iL3+HUNnkDoT2o4PlfUACeOHKH HctqwQgXea+KNWb2qviwc0A= =b3iS -----END PGP SIGNATURE----- --------------enig2BF9ECD02736BC93ADD919FB--