Re: [ADMIN] Vacuum error on database postgres

Поиск
Список
Период
Сортировка
От Markus Schaber
Тема Re: [ADMIN] Vacuum error on database postgres
Дата
Msg-id 450A815C.6000709@logix-tt.com
обсуждение исходный текст
Ответ на Re: [ADMIN] Vacuum error on database postgres  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [ADMIN] Vacuum error on database postgres  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew - Supernews
Дата:
Сообщение: Re: New version of money type
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Fixed length data types issue