Skip to content

WorthPosting

  • Home
  • About

Tag: Databases

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

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

HyperLogLog: Counting a Billion Uniques in 1.5 KB of Memory

Posted on September 23, 2026

Every analytics dashboard has one question that looks trivial and isn’t: how many unique users did this? You can run

Continue readingHyperLogLog: Counting a Billion Uniques in 1.5 KB of Memory

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

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

Posted on September 17, 2026September 20, 2026

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

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

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

Posted on September 6, 2026

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

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

Posts navigation

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