Re: slow queries on system tables

Поиск
Список
Период
Сортировка
От PegoraroF10
Тема Re: slow queries on system tables
Дата
Msg-id 1566596875387-0.post@n3.nabble.com
обсуждение исходный текст
Ответ на Re: slow queries on system tables  (PegoraroF10 <marcos@f10.com.br>)
Ответы Re: slow queries on system tables  (Michael Lewis <mlewis@entrata.com>)
Re: slow queries on system tables  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general
Coming back to my problem, today happened again, that search comes slow. Explaining again, auto vacuum and auto analyse for pg_* tables are not configured one by one, so its using that defaults of scale_factor = 0.2 and threshold = 50. Today, when that problem of speed came back, the view pg_stat_sys_tables for pg_class table shows that it ran 415 times autovacuum only this week and there are 75187 updates on this table. How can I have been updated 75000 times this table only in a week ? What kind of statement does an update on this table ? And why did it run 415 times autovacuum and only 1 autoanalyse ?
relnameseq_scanseq_tup_readidx_scanidx_tup_fetchn_tup_insn_tup_updn_tup_deln_tup_hot_updn_live_tupn_dead_tupn_mod_since_analyzelast_vacuumlast_autovacuumlast_analyzelast_autoanalyzevacuum_countautovacuum_countanalyze_countautoanalyze_count
pg_class53955123859896291361667471122199785812243751876254400816989156457435NULL2019-08-22 19:58:48.497317NULL2019-08-22 13:03:02.770579041501


Sent from the PostgreSQL - general mailing list archive at Nabble.com.

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

Предыдущее
От: Michael Lewis
Дата:
Сообщение: Re: How to use brin_summarize_range
Следующее
От: Michael Lewis
Дата:
Сообщение: Re: slow queries on system tables