From: Markus Schaber <schabi@logix-tt.com>
To: pgsql-hackers@postgresql.org
Subject: Re: [ADMIN] Vacuum error on database postgres
Date: Fri, 15 Sep 2006 12:33:00 +0200
Message-ID: <450A815C.6000709@logix-tt.com> (raw)
In-Reply-To: <3024.1158266129@sss.pgh.pa.us>
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>
Hi, Tom,
Tom Lane wrote:
> We could add another LockTagType just for ANALYZE, but that seems like
> rather a lot of infrastructure to support an extremely narrow corner
> case, namely two people doing database-wide ANALYZE at the same time
> inside transaction blocks. (If they do it outside a transaction block
> then the ANALYZE is divided into multiple xacts and so doesn't try to
> hold locks on multiple tables concurrently. autovacuum won't try to do
> that either.)
Is there any reason to allow ANALYZE run insinde a transaction at all?
Markus
--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf. | Software Development GIS
Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org
Attachments:
signature.asc (application/pgp-signature, 251B) download
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: schabi@logix-tt.com, pgsql-hackers@postgresql.org
Subject: Re: [ADMIN] Vacuum error on database postgres
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>
* 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