Hacker News with Generative AI: Database Optimization

Balancing the Costs of Count(*) and UX (frappe.io)
Just how bad is "select count(*)" and can we control it?
Debunking the Myth of Join Ordering: Toward Robust SQL Analytics (arxiv.org)
Join order optimization is critical in achieving good query performance. Despite decades of research and practice, modern query optimizers could still generate inferior join plans that are orders of magnitude slower than optimal.
PgAssistant: OSS tool to help devs understand and optimize PG performance (github.com/nexsol-technologies)
PgAssistant is an open-source tool designed to help developers understand and optimize their PostgreSQL database performance.
Bulk optimization of queries in Postgres (substack.com)
Exploiting column chunks for faster ingestion and lower memory use (rerun.io)
Ottertune.ai Is Shut Down (ottertune.com)
How to get the most out of Postgres memory settings (tembo.io)
Making a Postgres query 1k times faster (mattermost.com)
Making a Postgres query 1k times faster (mattermost.com)
Optimizing ClickHouse: Tactics that worked for us (highlight.io)
The Bloat Busters: pg_repack vs. pg_squeeze (boringsql.com)
Postgres Bloat Minimization (supabase.com)