pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gregory Stark <stark@enterprisedb.com>
To: Markus Schaber <schabi@logix-tt.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [ADMIN] Vacuum error on database postgres
Date: Fri, 15 Sep 2006 13:45:07 +0100
Message-ID: <87ac51qox8.fsf@enterprisedb.com> (raw)
In-Reply-To: <450A815C.6000709@logix-tt.com>
References: <44F82150.5000809@pnlassociates.com>
	<4001.1157121669@sss.pgh.pa.us>
	<ee7pua$2bou$1@news.hub.org>
	<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>


Markus Schaber <schabi@logix-tt.com> writes:

> Is there any reason to allow ANALYZE run insinde a transaction at all?

I had a script to run explain over a set of queries, then run analyze, then
run explain again and check the plans for unexpected changes. It would roll
back the analyze if any production queries had changed plans and email the
diff to the DBA to review.

Actually I never finished the script but that was the plan :)

-- 
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com



view thread (21+ messages)  latest in thread

Message-ID: <87ac51qox8.fsf@enterprisedb.com>
Permalink:  ../87ac51qox8.fsf@enterprisedb.com/
Also on:    postgresql.org/message-id/87ac51qox8.fsf@enterprisedb.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: stark@enterprisedb.com, schabi@logix-tt.com, pgsql-hackers@postgresql.org
  Subject: Re: [ADMIN] Vacuum error on database postgres
  In-Reply-To: <87ac51qox8.fsf@enterprisedb.com>
  References: <44F82150.5000809@pnlassociates.com> <4001.1157121669@sss.pgh.pa.us> <ee7pua$2bou$1@news.hub.org> <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> <87ac51qox8.fsf@enterprisedb.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox