PostgreSQL - Set Operations and Advanced Queries
You want to optimize a slow query. After running
EXPLAIN ANALYZE, you see a nested loop join with very high actual time. What should you do to improve performance?