The list of all the queries

Vacuum and analyze status of base tables

Query goal: Find for each base table the last time when the table has been vacuumed or analyzed (either manually or automatically).
Query type: General (Overview of some aspect of the database.)
Query license: MIT License
Data source: system catalog only
SQL query: Click on query to copy it

SELECT
schemaname, relname,
last_vacuum, last_autovacuum,
vacuum_count, autovacuum_count,
last_analyze, last_autoanalyze,
analyze_count, autoanalyze_count
FROM pg_stat_user_tables
ORDER BY schemaname, relname;

Collections where the query belongs to

Collection nameCollection description
Find problems by overviewQueries that results point to different aspects of database that might have problems. A human reviewer has to decide based on the results as to whether there are problems or not .

Categories where the query belongs to

Category nameCategory description
PerformanceQueries of this category provide information about indexes in a database.

Reference materials for further reading

Reference
https://www.postgresql.org/docs/current/routine-vacuuming.html

The list of all the queries