Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 623999F9294 for ; Tue, 6 Nov 2007 01:23:11 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 01847-05-6 for ; Tue, 6 Nov 2007 01:22:42 -0400 (AST) Received: from mail.emolecules.com (66-226-76-106.dedicated.abac.net [66.226.76.106]) by postgresql.org (Postfix) with ESMTP id DFCD29F936F for ; Tue, 6 Nov 2007 01:12:39 -0400 (AST) Received: (qmail 16079 invoked by uid 2020); 5 Nov 2007 21:24:20 -0800 Received: from wsip-68-224-174-233.sd.sd.cox.net (HELO lisa-james-computer.local) (68.224.174.233) by 192.168.0.4 with SMTP; 5 Nov 2007 21:24:20 -0800 Message-ID: <472FF7C5.2060402@emolecules.com> Date: Mon, 05 Nov 2007 21:12:37 -0800 From: Craig James User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: PGSQL Performance Subject: Is ANALYZE transactional? References: <1d219a6f0711051043x569b7f51r4cee3353e6ea9f10@mail.gmail.com> <472F781F.6080200@enterprisedb.com> In-Reply-To: <472F781F.6080200@enterprisedb.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.111 tagged_above=0 required=5 tests=AWL=0.010, BAYES_50=0.001, RDNS_DYNAMIC=0.1 X-Spam-Level: X-Archive-Number: 200711/67 X-Sequence-Number: 27482 If I do: begin; update some_table set foo = newvalue where a_bunch_of_rows_are_changed; analyze some_table; rollback; does it roll back the statistics? (I think the answer is yes, but I need to be sure.) Thanks, Craig