Re: slow queries on system tables - Mailing list pgsql-general

From Michael Lewis
Subject Re: slow queries on system tables
Date
Msg-id CAHOFxGrV0dj+4=s5-0-XG36_13t3smhKq0hujmRNaKqtfZ3YuA@mail.gmail.com
Whole thread Raw
In response to slow queries on system tables  (PegoraroF10 <marcos@f10.com.br>)
Responses Re: slow queries on system tables
List 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 by date:

Previous
From: Simon Windsor
Date:
Subject: Re: Error XX000 After pg11 upgrade
Next
From: PegoraroF10
Date:
Subject: Re: slow queries on system tables