Re: [ADMIN] Vacuum error on database postgres - Mailing list pgsql-hackers

From Gregory Stark
Subject Re: [ADMIN] Vacuum error on database postgres
Date
Msg-id 87ac51qox8.fsf@enterprisedb.com
Whole thread Raw
In response to Re: [ADMIN] Vacuum error on database postgres  (Markus Schaber <schabi@logix-tt.com>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Markus Schaber
Date:
Subject: Re: [ADMIN] Vacuum error on database postgres
Next
From: Tom Lane
Date:
Subject: Re: [ADMIN] Vacuum error on database postgres