Re: Server instrumentation for 8.1

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: Server instrumentation for 8.1
Дата
Msg-id 428470B3.10604@pse-consulting.de
обсуждение исходный текст
Ответ на Re: Server instrumentation for 8.1  (Andrew - Supernews <andrew+nonews@supernews.com>)
Список pgsql-hackers
Andrew - Supernews wrote:
> On 2005-05-12, Andreas Pflug <pgadmin@pse-consulting.de> wrote:

> 
> relpages is updated from the value of RelationGetNumberOfBlocks(rel) which
> is definitive (it gets the value from smgr which gets it from the physical
> file sizes); the only inaccuracy is that it is correct only as of the time
> that the pg_class row was last updated (as done by any VACUUM, any ANALYZE,
> any CLUSTER or any CREATE INDEX on the table, at minimum).

"accurate unless vacuum not running".
... which renders it quite useless to find out about *real* disk usage. 
Interesting for the query planner, not for the admin to know when a 
vacuum full might be necessary.

Regards,
Andreas


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

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: Server instrumentation for 8.1
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: SQL_ASCII vs. 7-bit ASCII encodings