Skip to content

WorthPosting

  • About
  • Resource Links

Tag: PostgreSQL

Cat Links Software Engineering

Reading EXPLAIN Like a Planner: Debugging Slow Queries in PostgreSQL

Posted on September 30, 2026October 1, 2026 teliaz

# POST 2: Reading EXPLAIN A query that ran in 20 milliseconds yesterday takes 40 seconds today. Nothing in the

Continue readingReading EXPLAIN Like a Planner: Debugging Slow Queries in PostgreSQL

Cat Links Software Engineering

The Transactional Outbox Pattern in Go: Reliable Events Without Dual Writes

Posted on September 30, 2026October 1, 2026 teliaz

# POST 1: Transactional Outbox (Slot 10 backend) You update a row in your database, then publish an event to

Continue readingThe Transactional Outbox Pattern in Go: Reliable Events Without Dual Writes

Cat Links Software Engineering

PgBouncer 1.26.0: Pre-Auth CVEs, the search_path Fix, and What Changes for Pool Sizing

Posted on September 25, 2026September 27, 2026 teliaz

PgBouncer has quietly become mandatory infrastructure for PostgreSQL at scale. If you run more than a few hundred client connections

Continue readingPgBouncer 1.26.0: Pre-Auth CVEs, the search_path Fix, and What Changes for Pool Sizing

Cat Links Software Engineering

PostgreSQL Isolation Levels: What Repeatable Read Actually Guarantees

Posted on September 21, 2026 teliaz

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

Zero-Downtime Schema Migrations in PostgreSQL: Expand-Contract, Lock Timeouts, and Safe ALTER TABLE

Posted on September 17, 2026September 20, 2026 teliaz

PostgreSQL takes an ACCESS EXCLUSIVE lock for most ALTER TABLE operations. That lock conflicts with everything — reads, writes, even

Continue readingZero-Downtime Schema Migrations in PostgreSQL: Expand-Contract, Lock Timeouts, and Safe ALTER TABLE

Cat Links Software Engineering

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

Posted on September 14, 2026September 15, 2026 teliaz

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 teliaz

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

The Transactional Outbox Pattern: Reliable Events Without Distributed Transactions

Posted on September 8, 2026 teliaz

Solve the dual-write problem with one extra table and SKIP LOCKED: a working Go implementation of the transactional outbox, plus the delivery-semantics gotchas that bite in production. … Continue readingThe Transactional Outbox Pattern: Reliable Events Without Distributed Transactions

Cat Links Software Engineering

Cursor-Based Pagination Done Right: Keyset Queries, Opaque Cursors, and the Pitfalls That Bite

Posted on September 6, 2026 teliaz

Every API that returns a list eventually has to answer the same question: how do you hand out a million

Continue readingCursor-Based Pagination Done Right: Keyset Queries, Opaque Cursors, and the Pitfalls That Bite

Cat Links Software Engineering

Reading EXPLAIN ANALYZE: Why Postgres Ignores Your Index

Posted on September 5, 2026 teliaz

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

Posts navigation

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