Re: slow queries on system tables

Поиск
Список
Период
Сортировка
От Michael Lewis
Тема Re: slow queries on system tables
Дата
Msg-id CAHOFxGrV0dj+4=s5-0-XG36_13t3smhKq0hujmRNaKqtfZ3YuA@mail.gmail.com
обсуждение исходный текст
Ответ на slow queries on system tables  (PegoraroF10 <marcos@f10.com.br>)
Ответы Re: slow queries on system tables  (PegoraroF10 <marcos@f10.com.br>)
Список pgsql-general
Are you autovacuuming and analyzing aggressively enough? Is there bloat or other concern for these system tables? I expect it may be a concern based on what I remember about your environment having thousands of tables and perhaps autovacuum not keeping up (re: Too slow to create new schema and their tables, functions, triggers).

Can you check results for last (auto)vacuum and analyze?
select * from pg_stat_all_tables where relname IN( 'pg_class', 'pg_attribute', 'pg_index' );

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

Предыдущее
От: Simon Windsor
Дата:
Сообщение: Re: Error XX000 After pg11 upgrade
Следующее
От: PegoraroF10
Дата:
Сообщение: Re: slow queries on system tables