Re: VACUUM ANALYZE -vs- ANALYZE on an insert-only table.

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: VACUUM ANALYZE -vs- ANALYZE on an insert-only table.
Дата
Msg-id 20031215213734.GA27691@wolff.to
обсуждение исходный текст
Ответ на VACUUM ANALYZE -vs- ANALYZE on an insert-only table.  ("Matt Gordon" <m.gordon@f5.com>)
Список pgsql-general
On Thu, Dec 11, 2003 at 15:26:56 -0800,
  Matt Gordon <m.gordon@f5.com> wrote:
> If I have a table that I only use for INSERTs and queries (no UPDATEs or DELETEs), is it enough to just run ANALYZE
onthe table instead of VACUUM ANALYZE?  In other words, is running a VACUUM on a table useful if all that you're doing
isINSERTing into it?  My understanding of VACUUM is that it cleans up stale tuples that are left after UPDATEs and
DELETEs.
>

You only need to vacuum if you do updates, deletes or when you need to
handle wrap around of transaction IDs (about every 10^9 transactions).

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Is it not datestyle that determines date format output?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PL/PgSQL composite parameter usage?