Database Guides
Explore 5 practical database guides on AgentsCamp — clear explanations, trade-offs, and hands-on workflows for working with AI.
Five guides on Postgres and vector databases. For Postgres itself, the indexing guide compares B-Tree, GIN, BRIN, partial and covering indexes and explains why every index taxes every write. The connection pooling guide sizes pools across app instances, sets timeouts and chooses between PgBouncer and a managed pooler, including for serverless. The migrations guide changes a live schema with the expand-contract pattern, batched backfills and CONCURRENTLY.
For vectors, the vector database guide helps you choose between embedded, server and managed options, starting from whether you already run Postgres, and Vector Search at Scale covers ANN index families, quantization, filtering and sharding for millions to billions of vectors. The /db-migrate and /scaffold-pgvector-schema commands apply the same practices inside Claude Code.
5 guides
Best Vector Database in 2026: pgvector vs Pinecone vs Qdrant vs Weaviate vs Milvus vs Chroma vs LanceDB
A decision guide to vector databases — embedded, server, or managed; whether you already run Postgres; and which fits your scale, filtering, and RAG needs.
Postgres Connection Pooling: Sizing, Timeouts, and Serverless
Size Postgres connection pools across application instances, configure lifecycle timeouts, diagnose saturation, and choose PgBouncer or a managed pooler.
Indexing Postgres at Scale: B-Tree vs GIN vs BRIN and the Hidden Cost of Over-Indexing
A practical guide to choosing Postgres index types — B-Tree, GIN, BRIN, partial, and covering — and why every index you add taxes every write.
Vector Search at Scale: ANN Indexes, Quantization & Sharding
How to run vector search over millions to billions of vectors without blowing latency, memory, or cost — index families, quantization, filtering, and sharding.
Zero-Downtime Postgres Migrations: The Expand-Contract Playbook for 2026
How to change a live Postgres schema without downtime or broken deploys — the expand-contract pattern, safe column changes, batched backfills, and CONCURRENTLY.