PostgreSQL
6 posts

PostgreSQL 18 UUIDv7: Your Indexes Can Finally Breathe
PostgreSQL 18 brings native UUIDv7 support with 50% index performance improvement. Say goodbye to UUIDv4 fragmentation and get primary keys that are both ordered and unique.

Your AI Agent Can Think, But It Can't Remember
AI agents can reason, plan, and converse—but forget everything once the session ends. The Ghost project solves this with a pure PostgreSQL-based infrastructure, turning the database into the agent’s memory palace.

Stop Blaming Your Database — It's Your Pagination That's Slow
Database queries getting slower as users scroll deeper? OFFSET pagination is the culprit more often than not. Here’s why and what to do about it.

PostgreSQL 18 Asynchronous IO Revolution: Why This Is the Biggest Database Update in 5 Years
PostgreSQL 18’s asynchronous IO with io_uring delivers 3.4x faster sequential scans, 2.1x faster index scans. Real benchmark data, configuration guide, and migration strategy for the database performance revolution.

Go + sqlc + Postgres: The Zero-ORM Stack Behind Cloudflare's 99.99% Uptime
Cloudflare runs Go + sqlc + Postgres in production, bypassing GORM’s N+1 queries and reflection overhead. 85K vs 42K qps, p99 drops from 3.8ms to 1.2ms. Breaking down the design logic, migration patterns, and when it actually makes sense to switch.

PostgreSQL Query Parsing Too Slow? PgDog Ditched Protobuf and Got 5x Faster
PgDog is a Rust-based PostgreSQL proxy. They discovered Protobuf serialization was the real bottleneck in SQL query parsing — not the Postgres parser itself. By replacing Protobuf with direct C-to-Rust FFI bindings, they achieved 5-10x faster parsing.
