| От | Alvaro Herrera |
|---|---|
| Тема | Re: Autovacuum and pg_stat_reset() |
| Дата | |
| Msg-id | 20090720025751.GJ4938@alvh.no-ip.org обсуждение исходный текст |
| Ответ на | Autovacuum and pg_stat_reset() (Rafael Martinez <r.m.guerrero@usit.uio.no>) |
| Список | pgsql-general |
Rafael Martinez wrote: > Does the use of pg_stat_reset() affects the statistics autovacuum uses > to find out what to do and when this should be done? Yes. You should do a manual ANALYZE after resetting stats to keep autovacuum in sync with reality. (In principle ANALYZE is only concerned with updating the unrelated stats in pg_statistic, but it also sends dead/live tuple counts to pgstats which autovacuum relies on.) > Can the use of pg_stat_reset() affect performance in any way? Hmm, not sure. -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера