techstack.sh techstack .sh

Guides · How to Choose

How to Choose a Database Tool

Choosing a database is one of the highest-leverage decisions you make early in a project. It affects query flexibility, scaling strategy, hosting costs, and how your team reasons about data. The wrong choice is expensive to reverse.

Key questions to ask

  • ? Relational vs document vs vector model — does your data have a clear schema?
  • ? Managed service vs self-hosted — who handles backups, failover, and upgrades?
  • ? Query patterns — do you need full-text search, time-series, or geospatial?
  • ? Pricing at scale — per-row, per-request, or compute-based billing?

Compare 25 database options

Tool Pricing Learning Curve Best For
Amazon Aurora Pay-as-you-go (AWS pricing) AWS-native workloads, high-throughput relational data, managed PostgreSQL at scale
Apache Cassandra Apache Cassandra Free / Open Source High-volume time-series data, global write scale, always-on applications
ClickHouse ClickHouse Free / Open Source (ClickHouse Cloud paid) Analytics, time-series data, event data warehousing, high-throughput inserts
Cloudflare KV Cloudflare KV Freemium — 100k reads/day free, 1k writes/day free Cloudflare Workers/Pages apps needing edge-distributed key-value storage
CockroachDB CockroachDB Freemium — free tier, pay-as-you-go Global apps, multi-region deployments, high availability
Convex Freemium — generous free tier, paid from $25/mo Real-time collaborative apps, React and Next.js backends, type-safe reactive data
DynamoDB Pay-as-you-go (on-demand) or provisioned capacity High-throughput serverless workloads, AWS-native applications, session and event stores
Firestore Firestore Freemium — generous free tier Mobile apps, real-time sync, rapid prototyping
MariaDB MariaDB Free / Open Source MySQL-compatible workloads, web apps, drop-in MySQL replacement
Microsoft SQL Server Freemium — Express free, Standard and Enterprise paid .NET and Azure-centric workloads, enterprise reporting, Windows-native apps
MongoDB MongoDB Freemium - community free, Atlas paid tiers Content-heavy apps, rapid iteration, event data, AI/vector workloads
MySQL MySQL Free / Open Source Traditional web apps, OLTP workloads, broad compatibility
Neo4j Neo4j Freemium — Community free, Enterprise paid Knowledge graphs, recommendation engines, fraud detection, relationship-heavy data
Neon Freemium — free tier, from $19/mo Serverless Postgres, preview environments with database branches, Next.js and T3 apps
Oracle Database Paid (Enterprise licensing) Mission-critical enterprise systems, large-scale OLTP, financial and regulated industries
Pinecone Freemium — free tier, from $70/mo AI embeddings, semantic search, recommendation engines
PlanetScale PlanetScale Paid — pay-as-you-go, from $5/mo (no free tier) SaaS apps, schema migrations, scalable MySQL or PostgreSQL
PostgreSQL PostgreSQL Free / Open Source Almost anything, complex queries, ACID compliance
PostgreSQL + pgvector PostgreSQL + pgvector Free / Open Source AI apps, semantic search, RAG pipelines
Redis Redis Free / Open Source (cloud paid) Caching, sessions, rate limiting, pub-sub, vector similarity search
SQLite SQLite Free / Public Domain Local development, embedded apps, mobile storage, small-scale deployments
Supabase Postgres Supabase Postgres Freemium — free tier, from $25/mo Real-time apps, MVPs, Postgres with a UI
SurrealDB SurrealDB Free / Open Source (SurrealDB Cloud paid) Apps needing flexible data models, real-time queries, graph relationships
Turso Turso Freemium — generous free tier, from $29/mo Edge applications, global low-latency reads, per-user database architectures
Upstash Upstash Freemium — 10k commands/day free, pay-per-request Serverless caching, rate limiting, queue-based workflows, vector search, and durable messaging at the edge

All Database tools

Upstash Upstash

Serverless Redis, Vector, QStash, Workflow, and Search platform with per-request pricing ideal for edge and serverless environments