PostgreSQL - Performance Tuning
You want to optimize a complex query with multiple joins and sorts. The server has 128GB RAM. How should you set
work_mem and effective_cache_size for best performance?