Databases
Structured data, shaped for how you query it.
22 concepts · 101 technologies · 6 comparisons · 9 real stacks
Concepts
Start with Relational databases- Relational databases33 technologiesTables, SQL and transactions: the dependable default.
- SQLThe declarative language that relational databases, warehouses and query engines share: you describe the rows you want, and the database works out how to get them.
- NewSQL and distributed SQL2 technologiesRelational databases that spread tables across many machines and keep SQL and ACID transactions, so writes scale out without sharding by hand.
- NoSQL databases3 technologiesThe umbrella name for databases that drop the relational model and SQL, usually to spread data over many machines: key-value, document, wide-column and graph stores, and a few others.
- Key-value stores15 technologiesPut a value under a key and get it back by that key, fast, at almost any scale.
- Document databases8 technologiesRecords stored as JSON documents that the database can query, index and update field by field.
- Wide-column stores5 technologiesHuge tables split into partitions by key, with rows kept sorted inside each one, built for heavy writes.
- Graph databases9 technologiesStore things and the links between them as first-class data, and answer questions by walking the links instead of joining tables.
- Graph lakehouses1 technologyQuery lakehouse tables as a graph, with Cypher, Gremlin or GQL, without copying the data into a separate graph database.
- GraphQL-native databases2 technologiesDatabases, or thin engines over one, that publish a GraphQL API generated from the schema, so clients query tables and relationships without a hand-written API server.
- Caching11 technologiesKeep hot data in memory so you don’t ask the slow system twice.
- In-process cachesA small cache inside your service’s own memory: no network hop, but every copy of the service has its own.
- Time-series databases22 technologiesA database shaped for measurements stamped with time.
- Time-series compressionHow time-series databases shrink a 16-byte point (a 64-bit time stamp and a 64-bit float) to one or two bytes: store differences instead of time stamps, XOR each float with an earlier one, and replace repeated tags with small numbers.
- Search indexes9 technologiesFind rows or files by what’s inside them: an index from words or character fragments to the places they appear.
- Vector databases8 technologiesStore embeddings, lists of numbers that capture what text, images or users mean, and find the ones closest to a query.
- Coordination services5 technologiesA small, strongly consistent store, usually three or five servers, that a distributed system uses to agree on who leads, who holds a lock and what the configuration is.
- Distributed ledgers2 technologiesA record that several organisations keep in step without any one of them owning it: each runs its own copy, and changes are signed, agreed through consensus and chained so the history can’t be quietly rewritten.
- Database indexes1 technologyA structure kept in step with a table that lets the database find matching rows without reading the whole table, paid for on every write.
- LSM trees3 technologiesA storage structure that buffers writes in a sorted in-memory table, flushes them to immutable sorted files and merges those files in the background, trading extra reads and rewrites later for fast, sequential writes now.
- Unbounded queriesA query with no time range, no partition key and no LIMIT, whose cost grows with every row ever stored.
- Database clients and design tools6 technologiesThe tools people use to look inside and change a database: SQL clients that browse and query it, diagram tools that draw its tables and keys, and migration tools that change its schema from files kept in version control.
Technologies
Grouped by the concept each one mainly implementsRelational databases
Alibaba Cloud PolarDBSaaS
CedarDBSaaSCloudflare D1SaaS
CloudNativePGOSSCockroachDBSaaS
DoltOSSGelArchived
- HerdDBDormant
MySQLOSS+1
NeonSaaS
PatroniOSS
Percona OperatorsOSS
PGO (Crunchy Postgres for Kubernetes)OSSPlanetScaleSaaS
PostgreSQLOSS+2
ScramDBSaaSSQLiteOSS
TiDBOSS
TursoOSS
VitessOSS
XataSaaS
YugabyteDBOSS
8baseDormant
SupabaseSaaS
Commonly confused
FoundationDB, CockroachDB or TiDB?FoundationDB · CockroachDB · TiDBKey-value, document or wide-column?Key-value stores · Document databases · Wide-column storesEAV, JSON column, wide table or document?Entity-attribute-value (EAV) · Emergent schema (JSON columns) · Wide tables · Document databasesTime series: wide-column with TWCS, a time-series database, or a data lake?Wide-column stores · Time-series databases · Data lakesCache or database?Caching · Relational databasesIn-process cache, shared cache or CDN?In-process caches · Caching · CDNs
See it in a real stack
Architectures that use databases conceptsSmall lakehouse on DuckLakeDuckDB writes and queries tables whose catalog lives in PostgreSQL and whose data sits as Parquet on S3.DuckDBDuckLakePostgreSQLAmazon S3Serverless web app on AWSCloudFront serves the site from S3 and sends API calls through API Gateway to Lambda functions backed by DynamoDB.Amazon CloudFrontAmazon S3Amazon API GatewayAWS LambdaAmazon DynamoDBWeb app on KubernetesA load balancer spreads requests over app pods on Kubernetes, which check Redis before going to PostgreSQL.AWS Application Load BalancerKubernetesRedisPostgreSQLEvent-driven order processingCheckout publishes one event to Kafka; payments, inventory and email each consume it at their own pace.Apache KafkaPostgreSQLAWS LambdaCQRS with a static read sideCommands update PostgreSQL; a Lambda projector rewrites the affected JSON views in S3, and CloudFront serves every read without touching a database.Amazon API GatewayAWS LambdaPostgreSQLAmazon SQSAmazon S3Amazon CloudFrontIoT telemetry pipelineDevices stream readings into Kinesis; Lambda writes them to TimescaleDB for Grafana, and raw data is archived to S3.Amazon Kinesis Data StreamsAWS LambdaTimescaleDBAmazon S3GrafanaGraphQL API in PythonUvicorn runs a FastAPI app that mounts Strawberry’s GraphQL router; graphql-core parses, validates and executes each query, and resolvers load rows through SQLAlchemy from PostgreSQL.FastAPIStrawberry GraphQLGraphQL-corePydanticSQLAlchemyPostgreSQLAnalytic database on the FDAP stackArrow Flight, DataFusion, Arrow and Parquet as the reusable core of a database, the way InfluxDB 3 is built.InfluxDBApache ParquetApache ArrowAmazon S3Apache DataFusionSelf-hosted observability on the LGTM stackLoki for logs, Grafana for dashboards, Tempo for traces and Mimir for metrics, fed by one OpenTelemetry pipeline and storing everything in object storage.OpenTelemetryGrafana LokiGrafana MimirGrafana TempoAmazon S3Grafana
Worth exploring
All resources →Article· October 2026Prism: A geo-replicated data lake serving billions of <10 ms point lookupsHåkon Åmdal and Jeff Ling, GoldskyHow Goldsky stores each blockchain’s history once in object storage and serves it in every region: recent blocks in memory, Vortex files that stay compressed in RAM, a SlateDB index beside the data on Tigris, and Tigris’s TAG cache for in-region reads. It gives real latency splits by tier (under 1 ms hot, about 9 ms through the cache, 10 to 800 ms cold) and per chain. It was reviewed by Tigris’s CEO, so read it partly as a showcase for Tigris.
Article· June 2026Graph and Lakehouse, Friends at LastEric Monk, Neo4jA hands-on walkthrough of Neo4j’s Virtual Graph, then in private preview: a graph model laid over Databricks tables (TPC-H in the example) without copying them, where Cypher is translated deterministically into SQL that runs on Databricks compute under Unity Catalog permissions, and
EXPLAIN shows the generated SQL. Useful for its worked queries and its honest list of current limits (single-column node IDs, unique relationship types, memory limits on big aggregations); it is a Neo4j post about a Neo4j product and has no performance numbers.Article· June 2026Durable Queue Workers With Just PostgresFatih Yildiz (mfyz)Starts with the
FOR UPDATE SKIP LOCKED queue, then shows what to add when a job has several steps: Absurd stores each step’s result in Postgres, so a crashed worker resumes from the last checkpoint. The author calls it a fit for small and medium projects, not high volume.Article· June 2026Making Postgres Queues ScaleQian Li and Peter Kraft, DBOSHow DBOS got its Postgres-backed queues to 30,000 workflows a second:
SKIP LOCKED, the weaker READ COMMITTED isolation unless a queue needs global limits, partial indexes on waiting rows only, and an index that matches the dequeue order. DBOS wrote it about its own product, but the techniques apply to any Postgres queue.Article· April 2026Keeping a Postgres queue healthySimeon Griggs, PlanetScaleWhy a busy queue table fills with dead rows, and how one long query elsewhere can stop vacuum from cleaning them up and slow every dequeue. The diagnosis applies to any Postgres; the fix it ends on, Traffic Control, exists only on PlanetScale.
Paper· March 2026GraphLake: A Purpose-Built Graph Compute Engine for LakehouseShige Liu, Songting Chen, Chengjie Qin, Mingxi Wu and Jianguo Wang (Purdue University, TigerGraph), arXivExplains why running graph analytics over Iceberg tables is hard and how a TigerGraph-based engine does it: load only the key columns that form the topology, build one edge list per Parquet file, encode file and row in each vertex ID so properties can be fetched on demand, and cache column chunks with graph-aware priorities. On LDBC benchmarks it reports up to 26× faster startup and up to 60× faster queries than PuppyGraph, and it is candid that edge-list scans lose to TigerGraph’s own storage when few edges match. Half the authors work at TigerGraph and the baseline is a closed-source competitor measured from outside, so read the comparison with that in mind.
Video· January 2026Unified Data, Unified Insights: Meet the Graph LakehouseWeimo Liu and Jaz Ku (PuppyGraph) and Robert Pack (Databricks), Open Lakehouse + AIA 50-minute live session from the Delta Lake community with demos of querying Delta Lake tables as a graph with PuppyGraph, running multi-hop Cypher and Gremlin queries, and visualising the results, without a separate graph database or copy pipeline. Summarised here from the event description and listing; two of the three speakers are from PuppyGraph.
Slides· September 2025How and Why Datadog moved from cloud-managed to self-managed PostgresNick Canzoneri, Datadog, at PGConf NYC 2025Slides from a talk on why a company running hundreds of Postgres clusters across several clouds left managed services for its own Postgres platform on Kubernetes, how it moved a whole region, and what got better and worse. The stack is Patroni (with ZooKeeper for leader election), WAL-G backups, a Helm chart rather than an operator, and Temporal workflows for automation. Useful before you weigh RDS-style convenience against running Postgres yourself.
Slides· August 2025Harder, Better, Faster, Stronger: Building Valkey-TimeseriesClayton Collie, Keyspace 2025 (Valkey’s conference, Amsterdam)The author’s slides for ValkeyTimeSeries, a Rust module meant as a drop-in replacement for RedisTimeSeries. A short tour of the
TS.* commands, then what it adds: background expiry of old samples, chained compaction rules, Prometheus-style series selectors, TS.JOIN with as-of joins, an inverted label index built from an adaptive radix tree of Roaring bitmaps, parallel queries and string interning for labels. Written by the module’s developer, so it describes plans and strengths rather than trade-offs.Article· November 2024Kubernetes for databases: weighing the pros and consKate Obiidykhata, Percona, on the CNCF blog (first published on The New Stack)A short, high-level overview of why companies move databases onto Kubernetes (one platform across clouds and data centres, self-service, scaling, built-in failover) and the three ways to get there: a cloud DBaaS, a private DBaaS product, or an internal platform built from operators and monitoring. There is no technical depth or data. It is a CNCF member post by a Percona employee and ends by recommending Percona Everest, so read it as a vendor’s framing of the choice.
Video· February 2023Graph Queries on Data LakesWeimo Liu (PuppyGraph), Trino communityAn early talk for the Trino community making the case for a graph data lake instead of a graph database: keep the data once in tables such as Iceberg, start a separate graph query engine when you need traversals, and shut it down afterwards without losing anything. Summarised here from the event description; the speaker is PuppyGraph’s CEO, and the talk predates its product launch.
Video· April 2022Queues in PostgreSQLThomas Munro, PostgreSQL committer, at Citus Con 2022A Postgres developer walks through what queue-like workloads do inside the database, and the complications of using Postgres as a job or message queue.
WebsiteDB-EnginesDB-Engines, provided by Redgate SoftwareA directory of hundreds of database systems with their data models, licences and features, which you can compare side by side. Its monthly ranking measures popularity (search results, Google Trends, Stack Overflow questions, job ads, LinkedIn profiles, posts on X), not quality or speed.
WebsiteThe Umbra Database SystemThomas Neumann’s group, Technical University of MunichThe research site for Umbra, the successor to HyPer and the basis of CedarDB: a feature overview and the full publication list with PDFs, from the CIDR 2020 paper “Umbra: A Disk-Based System with In-Memory Performance” onwards. You can try queries in the browser or pull a Docker image, but its terms allow only evaluation, not production use.
Benchmarks
How to read a benchmark →Benchmark · ClickHouse Inc.ClickBenchHow fast analytical databases run 43 SQL queries over one 100-million-row table of web analytics events, on the same cloud machines.32 systems in this catalog · 7 caveats to read firstBenchmark · Tiger Data (formerly Timescale)Time Series Benchmark Suite (TSBS)A Go toolkit that generates synthetic server-monitoring or IoT time series, bulk-loads it into a database and times a fixed set of time-series queries.7 systems in this catalog · 6 caveats to read first
























