Re: possible vacuum improvement?

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: possible vacuum improvement?
Дата
Msg-id GNELIHDDFBOCMGBFGEFOIEAOCEAA.chriskl@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: possible vacuum improvement?  ("Matthew T. OConnor" <matthew@zeut.net>)
Ответы Re: possible vacuum improvement?  ("Matthew T. OConnor" <matthew@zeut.net>)
Список pgsql-hackers
> I have been doing some poking around with this item, and I was
> planning on
> using the stats collector to do "intelligent" auto-vacuuming.  I
> was planning
> on adding some new columns that account for activity that has taken place
> since the last vacuum.  The current stats collector shows n_tup_ins,
> n_tup_upd and n_tup_del for any given rel, but those numbers have
> nothing to
> do with what has happened since the last vacuum, hence nothing to do with
> current status or need for vacuum.

Postgres 7.3-beta has a new function 'pg_stat_reset()' that you can call to reset the stats collector after a vacuum...

Chris



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

Предыдущее
От: "Matthew T. OConnor"
Дата:
Сообщение: Re: possible vacuum improvement?
Следующее
От: "Matthew T. OConnor"
Дата:
Сообщение: Re: possible vacuum improvement?