Re: Analyze using savepoints?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Analyze using savepoints?
Дата
Msg-id 14844.1092063802@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Analyze using savepoints?  (Alvaro Herrera Munoz <alvherre@dcc.uchile.cl>)
Список pgsql-hackers
Alvaro Herrera Munoz <alvherre@dcc.uchile.cl> writes:
> I think both VACUUM and ANALYZE could be best served by appropiate use
> of short-lived ResourceOwners.  It needs some thought though.

At least for VACUUM FULL, this is pretty much a nonstarter: it needs a
real live genuine COMMIT in the middle.  No half measures unless you are
willing to lose your data on crash.

ANALYZE could possibly get away with simply releasing the table lock early.
I haven't thought about it in detail.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Add Missing From?
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: VACUUM DELAY