Re: [ADMIN] Vacuum error on database postgres

Поиск
Список
Период
Сортировка
От Markus Schaber
Тема Re: [ADMIN] Vacuum error on database postgres
Дата
Msg-id 450AA02C.60000@logix-tt.com
обсуждение исходный текст
Ответ на Re: [ADMIN] Vacuum error on database postgres  (Andrew - Supernews <andrew+nonews@supernews.com>)
Список pgsql-hackers
Hi, Andrew,

Andrew - Supernews wrote:

>> Is there any reason to allow ANALYZE run insinde a transaction at all?
>
> Absolutely. In a large transaction that radically changes the content of
> the database, it is often necessary to analyze in order to avoid getting
> extremely bad query plans for later commands in the transaction.

OK, I see.

But this leads to the danger that, should the transaction abort
afterwards, we're left with borked stats, or are those rolled back
accordingly?

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: [ADMIN] Vacuum error on database postgres
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: [ADMIN] Vacuum error on database postgres