How a single PostgreSQL config change improved slow query performance by 50x
Thanks for the tip. This probably affects more people than there are people who realize it. It would be really interesting if PG would use machine learning to discover this sort of tuning on its own.