Skip to content

WorthPosting

  • About
  • Resource Links

Tag: Query Optimization

Cat Links Software Engineering

MVCC and VACUUM in PostgreSQL: Dead Tuples, Autovacuum Tuning, and What PG18 Changed

Posted on September 10, 2026September 11, 2026

Every UPDATE in PostgreSQL is secretly an INSERT-plus-a-tombstone. The old row version stays on disk, fully readable to any transaction

Continue readingMVCC and VACUUM in PostgreSQL: Dead Tuples, Autovacuum Tuning, and What PG18 Changed

Cat Links Software Engineering

Reading EXPLAIN ANALYZE: Why Postgres Ignores Your Index

Posted on September 5, 2026

Every slow query investigation eventually reaches the same moment: you run EXPLAIN ANALYZE, and the plan makes no sense. Postgres

Continue readingReading EXPLAIN ANALYZE: Why Postgres Ignores Your Index

Cat Links Software Engineering

Zero-Downtime Database Migrations: Expand-Contract, Backfills, and Locks

Posted on September 3, 2026

Every schema migration tool will happily tell you how to change a table. Almost none of them will tell you

Continue readingZero-Downtime Database Migrations: Expand-Contract, Backfills, and Locks

Cat Links Software Engineering

Database Connection Pooling: PgBouncer, Pool Sizing, and the Math Behind Both

Posted on September 2, 2026September 3, 2026

Every PostgreSQL connection is a process on the server. Not a thread, not an entry in a table — a

Continue readingDatabase Connection Pooling: PgBouncer, Pool Sizing, and the Math Behind Both

Cat Links Software Engineering

SQL Window Functions in PostgreSQL: Running Totals, Rankings, and the End of Self-Joins

Posted on August 17, 2026

Every reporting query has a moment where GROUP BY stops being enough. You need the aggregate and the row it

Continue readingSQL Window Functions in PostgreSQL: Running Totals, Rankings, and the End of Self-Joins

Cat Links Software Engineering

PostgreSQL Connection Pooling: PgBouncer Modes, Pitfalls, and Production Config

Posted on August 7, 2026August 8, 2026

PostgreSQL connections are expensive. Each backend process consumes roughly 10 MB of resident memory, holds a socket, and runs a

Continue readingPostgreSQL Connection Pooling: PgBouncer Modes, Pitfalls, and Production Config

Cat Links Software Engineering

PostgreSQL Indexing Strategies: Choosing the Right Index for Every Query

Posted on July 28, 2026July 29, 2026

Most production performance problems in database-backed applications trace back to the same root cause: missing or misused indexes. Not slow

Continue readingPostgreSQL Indexing Strategies: Choosing the Right Index for Every Query

Cat Links Software Engineering

PostgreSQL 19 Beta 1: GROUP BY ALL, REPACK CONCURRENTLY, and What Else Is Coming

Posted on June 19, 2026September 12, 2026

Editor’s note, September 2026: PostgreSQL 19 is still in beta as of this update — Beta 3 shipped on August

Continue readingPostgreSQL 19 Beta 1: GROUP BY ALL, REPACK CONCURRENTLY, and What Else Is Coming

Cat Links Software Engineering

PostgreSQL 18 Features That Change How You Write Queries

Posted on May 25, 2026September 11, 2026

Editor’s note (September 12, 2026): Everything below still checks out against the official PostgreSQL 18 release notes — verified feature-by-feature,

Continue readingPostgreSQL 18 Features That Change How You Write Queries

Posts navigation

Newer posts
  • Home
  • About
Copyright © 2026 WorthPosting | Signify by WEN Themes
Scroll Up