Re: more problems with count(*) on large table

Поиск
Список
Период
Сортировка
От Bill Moran
Тема Re: more problems with count(*) on large table
Дата
Msg-id 20070928144435.320f219f.wmoran@potentialtech.com
обсуждение исходный текст
Ответ на Re: more problems with count(*) on large table  (Mike Charnoky <noky@nextbus.com>)
Список pgsql-general
In response to Mike Charnoky <noky@nextbus.com>:

> The autovacuum is turned on.  Since this is pg8.1, I don't know when the
> table was actually last vacuumed.  I *did* run analyze on the table,
> though.  Also, nothing has been deleted in this table... so vacuum
> should have no affect, right?

Updated rows also produce dead tuples that require vacuuming.  If the
table is insert only, you don't need vacuum.

--
Bill Moran
http://www.potentialtech.com

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

Предыдущее
От: Mike Charnoky
Дата:
Сообщение: Re: more problems with count(*) on large table
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Using RETURNING with INTO inside pgsql