Re: Dead Space Map

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Dead Space Map
Дата
Msg-id 15088.1141140391@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Dead Space Map  (Hannu Krosing <hannu@skype.net>)
Ответы Re: Dead Space Map  (Hannu Krosing <hannu@skype.net>)
Список pgsql-hackers
Hannu Krosing <hannu@skype.net> writes:
> There is no fundamental reason, why vacuum needs to run in a transaction
> itselt.

I'll just take one point: you cannot hold locks unless you have a
transaction, therefore you cannot even look up the catalog info about
the table you wish to vacuum; let alone prevent someone else from
dropping the table under you.

The current bgwriter is incapable of looking at catalog contents as
such --- it operates only at the level of physical data blocks.
        regards, tom lane


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

Предыдущее
От: "Jonah H. Harris"
Дата:
Сообщение: Re: bug in 7.3.2
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Dead Space Map