Where does data in pg_stat_user_tables come from?

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Where does data in pg_stat_user_tables come from?
Дата
Msg-id 4C8EAE5E.70201@agliodbs.com
обсуждение исходный текст
Ответы Re: Where does data in pg_stat_user_tables come from?  ("Joshua D. Drake" <jd@commandprompt.com>)
Re: Where does data in pg_stat_user_tables come from?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Where does data in pg_stat_user_tables come from?  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-performance
All,

I've been looking at pg_stat_user_tables (in 8.3, because of a project I
have), and it appears that autovacuum, and only autovaccum, updates the
data for this view.  This means that one can never have data in
pg_stat_user_tables which is completely up-to-date, and if autovacuum is
off, the view is useless.

Am I reading this correctly?  If so, shouldn't this be a TODO -- or is
it fixed already in 9.0?

--
                                  -- Josh Berkus
                                     PostgreSQL Experts Inc.
                                     http://www.pgexperts.com

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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Useless sort by
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Where does data in pg_stat_user_tables come from?