Optimizing Postgres queries at scale | Hacker News Reader