Skip to content

Databases

Choose and operate the right database. PostgreSQL vs MySQL, Redis caching patterns, MongoDB data modeling, replication, sharding, and backup strategies explained.

28 articles

SQLite at the Edge: When libSQL Beats Postgres
Databases

SQLite at the Edge: When libSQL Beats Postgres

SQLite at the edge via libSQL embedded replicas and Cloudflare D1 delivers 2-5ms reads worldwide versus 20-100ms for Postgres read replicas. Real benchmarks, pricing comparisons, production failure modes, and a decision framework for when edge SQLite wins and when Postgres-with-replicas is still the right call.

15 min read·
Snowflake vs BigQuery vs Databricks vs Redshift (2026): Which Data Warehouse?
Databases

Snowflake vs BigQuery vs Databricks vs Redshift (2026): Which Data Warehouse?

Snowflake wins on concurrency, BigQuery on serverless simplicity, Databricks on ML, Redshift on AWS depth. Real 2026 pricing, TPC-DS benchmarks, and a clear decision matrix.

16 min read·
Postgres as a Queue: When You Don't Need Kafka or RabbitMQ
Databases

Postgres as a Queue: When You Don't Need Kafka or RabbitMQ

Build a production-grade task queue entirely in PostgreSQL using SELECT FOR UPDATE SKIP LOCKED, LISTEN/NOTIFY, exponential backoff retries, and dead-letter handling. Covers PGMQ, Graphile Worker, River, and when a dedicated broker actually earns its keep.

14 min read·
Best Vector Databases for RAG (2026): Pinecone vs Weaviate vs Qdrant vs Milvus vs pgvector
Databases

Best Vector Databases for RAG (2026): Pinecone vs Weaviate vs Qdrant vs Milvus vs pgvector

Real 2026 pricing, recall benchmarks, and a decision matrix for picking between Pinecone, Weaviate, Qdrant, Milvus, and pgvector. When pgvector is enough, when Qdrant wins on cost, and when Milvus is worth the ops burden.

17 min read·
UUIDv7 vs UUIDv4 vs Serial: Which Primary Key in 2026?
Databases

UUIDv7 vs UUIDv4 vs Serial: Which Primary Key in 2026?

UUIDv7 is the new default primary key on PostgreSQL 18. Benchmarks at 10M and 100M rows vs UUIDv4 and BIGSERIAL, index bloat numbers, and a zero-downtime migration guide.

14 min read·
ClickHouse vs PostgreSQL for Analytics: When to Add an OLAP Database
Databases

ClickHouse vs PostgreSQL for Analytics: When to Add an OLAP Database

Benchmark identical analytical queries on ClickHouse and PostgreSQL at 1M to 1B rows. Learn why columnar storage delivers 10-100x speedups, how to sync data with Debezium CDC, and when PostgreSQL is enough.

12 min read·
Best Managed PostgreSQL (2026): Neon vs Supabase vs Aiven vs Crunchy Data vs RDS
Databases

Best Managed PostgreSQL (2026): Neon vs Supabase vs Aiven vs Crunchy Data vs RDS

Six-month benchmark of Neon, Supabase, Aiven, Crunchy Data, and AWS RDS/Aurora across dev, production, and high-throughput scales. Real 2026 pricing, extension coverage, connection limits, and the decision matrix that maps each winner to a use case.

19 min read·
PostgreSQL 18 Features Developers Actually Care About
Databases

PostgreSQL 18 Features Developers Actually Care About

PostgreSQL 18 ships async I/O (up to 3x faster sequential scans), native UUIDv7, virtual generated columns, OAuth 2.0, and OLD/NEW in RETURNING. Real benchmarks, upgrade traps, and extension compatibility for pgvector, TimescaleDB, and Citus.

15 min read·
PostgreSQL vs MongoDB (2026): Which One Should You Choose?
Databases

PostgreSQL vs MongoDB (2026): Which One Should You Choose?

A practical comparison of PostgreSQL and MongoDB covering performance benchmarks, schema design, scaling, pricing, and real-world use cases to help you choose the right database.

8 min read·
Page 1 of 4Older →

Stay in the loop

New articles delivered to your inbox. No spam.