Re: PATCH to allow concurrent VACUUMs to not lock each
От
Hannu Krosing
Тема
Re: PATCH to allow concurrent VACUUMs to not lock each
Дата
Msg-id
1120407279.17231.1.camel@fuji.krosing.net
Ответ на
Список
Дерево обсуждения
PATCH to allow concurrent VACUUMs to not lock each other out from
cleaning old tuples Hannu Krosing <hannu@tm.ee>
Re: PATCH to allow concurrent VACUUMs to not lock each Hannu Krosing <hannu@skype.net>
Re: PATCH to allow concurrent VACUUMs to not lock each other Bruce Momjian <pgman@candle.pha.pa.us>
Re: PATCH to allow concurrent VACUUMs to not lock each Neil Conway <neilc@samurai.com>
Re: PATCH to allow concurrent VACUUMs to not lock each Tom Lane <tgl@sss.pgh.pa.us>
Re: PATCH to allow concurrent VACUUMs to not lock each Hannu Krosing <hannu@skype.net>
Re: PATCH to allow concurrent VACUUMs to not lock each Tom Lane <tgl@sss.pgh.pa.us>
Re: PATCH to allow concurrent VACUUMs to not lock each Hannu Krosing <hannu@skype.net>
Re: PATCH to allow concurrent VACUUMs to not lock each Hannu Krosing <hannu@skype.net>
Re: PATCH to allow concurrent VACUUMs to not lock each Bruce Momjian <bruce@momjian.us>
Re: PATCH to allow concurrent VACUUMs to not lock each Alvaro Herrera <alvherre@commandprompt.com>
Re: PATCH to allow concurrent VACUUMs to not lock each Hannu Krosing <hannu@skype.net>
Re: PATCH to allow concurrent VACUUMs to not lock each Alvaro Herrera <alvherre@commandprompt.com>
Re: PATCH to allow concurrent VACUUMs to not lock each Tom Lane <tgl@sss.pgh.pa.us>
Re: PATCH to allow concurrent VACUUMs to not lock each Alvaro Herrera <alvherre@commandprompt.com>
Re: PATCH to allow concurrent VACUUMs to not lock each Tom Lane <tgl@sss.pgh.pa.us>
Re: PATCH to allow concurrent VACUUMs to not lock each Tom Lane <tgl@sss.pgh.pa.us>
Re: PATCH to allow concurrent VACUUMs to not lock each Hannu Krosing <hannu@skype.net>
Re: PATCH to allow concurrent VACUUMs to not lock each Hannu Krosing <hannu@tm.ee>
Re: PATCH to allow concurrent VACUUMs to not lock each Bruce Momjian <pgman@candle.pha.pa.us>
Re: PATCH to allow concurrent VACUUMs to not lock each Hannu Krosing <hannu@tm.ee>
Re: PATCH to allow concurrent VACUUMs to not lock each Bruce Momjian <pgman@candle.pha.pa.us>
Re: PATCH to allow concurrent VACUUMs to not lock each Tom Lane <tgl@sss.pgh.pa.us>
Re: PATCH to allow concurrent VACUUMs to not lock each Tom Lane <tgl@sss.pgh.pa.us>
Re: PATCH to allow concurrent VACUUMs to not lock each Hannu Krosing <hannu@skype.net>
Re: PATCH to allow concurrent VACUUMs to not lock each Bruce Momjian <pgman@candle.pha.pa.us>
Re: PATCH to allow concurrent VACUUMs to not lock each Bruce Momjian <pgman@candle.pha.pa.us>
On E, 2005-05-23 at 11:42 -0400, Tom Lane wrote: > Hannu Krosing writes: > > I can't think of any other cases where it could matter, as at least the > > work done inside vacuum_rel() itself seema non-rollbackable. > > VACUUM FULL's tuple-moving is definitely roll-back-able, so it might be > prudent to only do this for lazy VACUUM. But on the other hand, VACUUM > FULL holds an exclusive lock on the table so no one else is going to see > its effects concurrently anyway. Ok, this is a new version of the vacuum patch with the following changes following some suggestions in this thread. * changed the patch to affect only lazy vacuum * moved inVacuum handling to use PG_TRY * moved vac_update_relstats() out of lazy_vacuum_rel into a separate transaction. The code to do this may not be the prettiest, maybe it should use a separate struct. -- Hannu Krosing
В списке pgsql-patches по дате отправления