Skip to main content

12 docs tagged with "postgresql"

View all tags

Backup & Recovery

RPO, RTO, backup strategies, point-in-time recovery, logical vs physical backups, and disaster recovery planning.

Database Connection Pooling

A complete guide to database connection pooling — how connections work, pool mechanics, HikariCP tuning, pool sizing formulas, failure modes, PgBouncer, RDS Proxy, and production observability. Beginner through senior depth.

Database Isolation Levels — How to Get It Right

Deep-dive into all 5 isolation anomalies (dirty read, non-repeatable, phantom, lost update, write skew), the 4 standard isolation levels, PostgreSQL vs MySQL vs Oracle implementation differences, snapshot scope (per-statement vs per-transaction), practical fix strategies without raising isolation, and the spec vs implementation distinction.

PostgreSQL Heap Storage Architecture & Internals

Comprehensive deep dive into PostgreSQL internal storage mechanics — 8KB slotted pages, HeapTupleHeader, CTID double-hop lookup, the UPDATE dilemma, HOT optimization, MVCC visibility, and VACUUM mechanics based on Hussein Nasser's database engineering architecture.

Vector Databases: Architecture, ANN Math & Comparative Deep Dive

A Senior Principal Engineer's comprehensive architectural guide to Vector Databases (HNSW, IVF-PQ, SCaNN), high-dimensional geometry, memory layout, and full-spectrum comparison with Relational (PostgreSQL/MySQL), Document (MongoDB), Key-Value (Redis), and Graph (Neo4j) engines.