Re: 8.2 Autovacuum BUG ?

Поиск
Список
Период
Сортировка
От Pallav Kalva
Тема Re: 8.2 Autovacuum BUG ?
Дата
Msg-id 46D840EC.1060302@livedatagroup.com
обсуждение исходный текст
Ответ на Re: 8.2 Autovacuum BUG ?  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: 8.2 Autovacuum BUG ?
Список pgsql-performance
Alvaro Herrera wrote:
> Pallav Kalva wrote:
>
>> Tom Lane wrote:
>>
>
>
>>> Probably represents freezing of old tuples, which is a WAL-logged
>>> operation as of 8.2.  Is it likely that the data is 200M transactions
>>> old?
>>>
>>>
>> If nothing changed on these tables how can it freeze old tuples ?
>> Does it mean that once it reaches 200M transactions it will do the same
>> thing all over again ?
>>
>
> No -- once tuples are frozen, they don't need freezing again (unless
> they are modified by UPDATE or DELETE).
>
>
>> If I am doing just SELECTS on these tables ? how can there be any
>> transactions ? or SELECTS considered transactions too ?
>>
>
> Selects are transactions too.  They just don't modify data.
>
>
Can you please correct me if I am wrong, I want to understand how this
works.
Based on what you said, it will run autovacuum again when it passes 200M
transactions, as SELECTS are transactions too and are going on these
tables.
But the next time when it runs autovacuum, it shouldnt freeze the tuples
again as they are already frozen and wont generate lot of archive logs ?
Or is this because of it ran autovacuum for the first time on this db ?
just the first time it does this process ?




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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: 8.2 Autovacuum BUG ?
Следующее
От: Mark Lewis
Дата:
Сообщение: Re: 8.2 Autovacuum BUG ?