- Check Unused Index with size > 8MB
- Show all client connections:
- Kill idle connection , which idle than 5 minutes:
- pg_stat_statements
- Get 25 most impact Queries:
- Reload pg_conf:
- kill running query
- all database users
- all tables and their size, with/without indexes
- cache hit rates (should not be less than 0.95)
- table index usage rates (should not be less than 0.95)
- how many indexes are in cache