Check the table statistics to see index usage in PostgreSQL
Understanding PostgreSQL Index Performance Statistics Check table statistics to see index usage SELECT relname, seq_scan, seq_tup_read, idx_scan, idx_tup_fetch, CASE WHEN idx_scan > seq_scan THEN 'INDEX OPTIMIZED' WHEN idx_scan > 0 THEN 'MIXED ACCESS' ELSE 'NEEDS INDEXES' END as performance_statusFROM pg_stat_all_tablesWHERE schemaname = 'schemaname'ORDER…










