Re: When to vacuum a table?

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: When to vacuum a table?
Дата
Msg-id 195C9B6B-2018-474C-AA80-239A8CEA37E9@gmail.com
обсуждение исходный текст
Ответ на Re: When to vacuum a table?  ("Steinar H. Gunderson" <sgunderson@bigfoot.com>)
Ответы Re: When to vacuum a table?  (Andrew Sullivan <ajs@crankycanuck.ca>)
Re: When to vacuum a table?  ("Craig A. James" <cjames@modgraph-usa.com>)
Список pgsql-performance
On 26-Nov-06, at 8:11 AM, Steinar H. Gunderson wrote:

> On Sun, Nov 26, 2006 at 09:43:11AM -0300, Marcelo Costa wrote:
>> All its tables constantly manipulated (INSERT, UPDATE, DELETE)
>> they need a
>> VACUUM
>
> Just a minor clarification here: INSERT does not create dead rows,
> only
> UPDATE and DELETE do. Thus, if you only insert rows, you do not
> need to
> vacuum (although you probably need to analyze).

Not entirely true. An insert & rollback will create dead rows. If you
attempt and fail a large number of insert transactions then you will
still need to vacuum.

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

Предыдущее
От: "Marcelo Costa"
Дата:
Сообщение: Re: When to vacuum a table?
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: When to vacuum a table?