Skip to content

WorthPosting

  • About
  • Resource Links

Tag: Query Optimization

Cat Links Software Engineering

PostgreSQL Isolation Levels: What Repeatable Read Actually Guarantees

Posted on September 21, 2026

Every PostgreSQL developer knows the four isolation levels from the SQL standard: Read Uncommitted, Read Committed, Repeatable Read, Serializable. Fewer

Continue readingPostgreSQL Isolation Levels: What Repeatable Read Actually Guarantees

Cat Links Software Engineering

API Pagination Strategies: Offset, Cursor, and Relay Connections Done Right

Posted on September 19, 2026

Sooner or later, every API designer hits the pagination wall. The endpoint works fine in staging, then production traffic arrives

Continue readingAPI Pagination Strategies: Offset, Cursor, and Relay Connections Done Right

Cat Links Software Engineering

PostgreSQL Connection Pooling: Session vs Transaction Mode, PgBouncer, and How to Size It

Posted on September 14, 2026September 15, 2026

Every PostgreSQL backend process is a full Unix process with its own megabytes of memory. That design choice buys you

Continue readingPostgreSQL Connection Pooling: Session vs Transaction Mode, PgBouncer, and How to Size It

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

Posts navigation

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