Database Types reference data

Different database systems and their characteristics.

  • 12 datasets
  • JSON · YAML · TOON
  • CC0 — public domain

Topic guide

What Database Types covers

Database reference data compares the families of data stores and the guarantees behind them: relational systems and the SQL that queries them, ACID transactions versus BASE-style eventual consistency, what the CAP theorem does and does not say about distributed systems, and the NoSQL, graph, time-series and NewSQL systems that trade some properties for others. The consistent theme is trade-offs: no system gives every property at once, so the entries emphasize what each design optimizes for rather than which is best.

Key ideas

ACID
Atomicity, consistency, isolation and durability: the guarantees of a classic transaction. A transaction either fully happens or not at all, and committed data survives a crash.
BASE
Basically available, soft state, eventually consistent: a design stance that favors availability and scale over immediate consistency.
CAP theorem
When a network partition occurs, a distributed system must choose between consistency and availability. It does not describe behavior when there is no partition.
Isolation level
How much concurrent transactions can see of one another's work, from read uncommitted to serializable, each preventing a different set of anomalies.
Normalization
Structuring relational tables to reduce redundancy; denormalization deliberately reintroduces it for read speed.
Index
A data structure that speeds up lookups at the cost of storage and slower writes.
Sharding
Splitting data across nodes by key so storage and load scale horizontally.

Common pitfalls

  • Reading CAP as 'pick two of three' in normal operation. Partitions are rare; the practical trade-off is often latency versus consistency (PACELC).
  • Choosing NoSQL for scale a relational database would handle comfortably, then rebuilding joins and transactions in application code.
  • Assuming 'eventually consistent' means 'wrong'. It means replicas converge; applications must tolerate the window.
  • Comparing products by feature checklists instead of by their consistency model, failure behavior and operational cost.

Using it from an agent

  • When asked to recommend a database, ask for the access patterns and consistency needs first; the best choice follows from them.
  • Distinguish the data model (relational, document, graph) from the guarantees (ACID or eventual) when explaining a system.
  • Treat benchmark and market-share claims as dated; point to current sources rather than quoting figures.

Start with: Database Systems Comparison · ACID vs BASE Properties

Datasets in Database Types

Fetch this category

One request returns the category with all of its dataset summaries. Append ?format=yaml or ?format=toon for the other encodings.

GET https://yjtoon.com/api/category/database-types?format=json

Search the library

Search by a topic, title, or keyword.

Start with a collection

Browse all 205 datasets