Postgres Performance Tuning Cheat Sheet 2026

Practical Postgres tuning cheat sheet. Config knobs that matter, indexing patterns, reading EXPLAIN ANALYZE BUFFERS, vacuum and bloat, connection pooling, and slow-query diagnostics.

April 30, 2026 · 4 min · 729 words · Manvendra Rajpoot

Postgres Partitioning in 2026 — Range, List, and the Patterns That Scale

When and how to partition Postgres tables. Range / list / hash, partition pruning, attach/detach, default partitions, and the gotchas at scale.

April 30, 2026 · 4 min · 752 words · Manvendra Rajpoot

Postgres Replication and HA in 2026 — Streaming, Logical, and Auto-Failover

Production HA for Postgres in 2026. Streaming vs logical replication, Patroni vs pg_auto_failover vs Stolon, RPO/RTO tradeoffs, and the patterns that keep a primary alive.

April 30, 2026 · 3 min · 581 words · Manvendra Rajpoot

Postgres CDC and Logical Replication in 2026 — Debezium, pgoutput, and the Outbox Alternatives

How CDC actually works in 2026. Postgres logical replication slots, pgoutput, Debezium, the outbox pattern, and how to fan out changes to Kafka, NATS, ClickHouse, OpenSearch, or your AI pipeline.

April 30, 2026 · 6 min · 1273 words · Manvendra Rajpoot

Distributed SQL in 2026 — CockroachDB, Spanner, Yugabyte, and When You Actually Need One

A practical 2026 guide to distributed SQL. The architecture behind CockroachDB / Spanner / Yugabyte / TiDB, when distributed SQL earns its cost, when Postgres + read replicas is enough, and the migration realities.

April 30, 2026 · 6 min · 1147 words · Manvendra Rajpoot

PostgreSQL MVCC, Isolation, and Locking — A Backend Developer's Guide

How Postgres MVCC actually works, the four isolation levels (and what each gives you), row vs advisory locks, deadlocks, and the transaction patterns every backend developer needs to handle concurrency correctly.

April 29, 2026 · 8 min · 1626 words · Manvendra Rajpoot

Drizzle ORM Deep Dive — Type-Safe SQL for TypeScript in 2026

Why Drizzle is the right TypeScript ORM in 2026. Schema-first design, end-to-end type safety, drizzle-kit migrations, relations, transactions, JSON columns, and the patterns I reach for in production.

April 29, 2026 · 8 min · 1677 words · Manvendra Rajpoot

PostgreSQL 18 — Async I/O, UUIDv7, Virtual Generated Columns, and What Actually Matters

A focused walkthrough of PostgreSQL 18 for application developers — async I/O, native uuidv7(), virtual generated columns, OAuth auth, EXPLAIN buffer reporting by default, logical replication improvements, and what to know before you upgrade.

April 29, 2026 · 6 min · 1275 words · Manvendra Rajpoot

PostgreSQL JSONB Advanced Patterns — Indexing, Performance, and Pitfalls

JSONB beyond the basics — GIN with jsonb_path_ops, partial and expression indexes, generated columns for hot fields, partitioning, jsonb_set rewrites, and the mistakes that turn 12ms queries into 4 seconds.

April 28, 2026 · 7 min · 1331 words · Manvendra Rajpoot

Production HTTP Service in Rust — Axum 0.8, sqlx, and Postgres

A from-scratch production Rust HTTP service. Axum 0.8, sqlx with compile-time-checked queries, structured errors, request tracing, layered middleware, and the exact project layout I use.

April 28, 2026 · 7 min · 1421 words · Manvendra Rajpoot