← Back to list

The world of database variations

Based on various criteria such as data model, usage, scalability, and structure, databases can be categorized into 11 common types:

Dinh Nguyen · 2024-07-15 09:13 · 0 claps · 1.9 min read
#database #key-values #graph #columnar #document
Open on Medium ↗

The world of database variations

Based on various criteria such as data model, usage, scalability, and structure, databases can be categorized into 11 common types:

Image: the world of database variation

Image: the world of database variation

1. Relational Databases (RDB)

Examples: MySQL, PostgreSQL, Oracle, SQL Server

4 common characteristics:

  • Structured data stored in tables
  • Relationships between tables defined by foreign keys
  • SQL is used for querying and managing data
  • Ensures ACID properties (Atomicity, Consistency, Isolation, Durability)

2. NoSQL Databases

There are four types of NoSQL databases: document, key-value, column-family, and graph.

Document databases

Examples: MongoDB, CouchDB

2 common characteristics:

  • Stores data in JSON-like documents
  • Flexible schema design

Key-Value Stores

Examples: Redis, DynamoDB

2 common characteristics:

  • Data stored as key-value pairs
  • Highly performant for read/write operations

Column-Family Stores

Examples: Cassandra, HBase

2 common characteristics:

  • Data stored in columns rather than rows
  • Designed for large-scale data storage

Graph Databases

Examples: Neo4j, Azure Cosmos DB for Apache Gremlin, Amazon Neptune

2 common characteristics:

  • Stores data as nodes and edges
  • Efficient for queries involving relationships

3. In-Memory Databases

Examples: Redis, Memcached

2 common characteristics:

  • Stores data in RAM for faster access
  • Suitable for caching and real-time applications

4. Object-Oriented Databases

Examples: db4o, ObjectDB

2 common characteristics:

  • Stores data as objects, similar to object-oriented programming
  • Supports complex data types and relationships

5. Distributed Databases

Examples: Apache Cassandra, Google Spanner

2 common characteristics:

  • Data distributed across multiple nodes or locations
  • Ensures high availability and fault tolerance

6. Time-Series Databases

Examples: InfluxDB, TimescaleDB, Amazon Timestream

2 common characteristics:

  • Optimized for time-stamped data
  • Suitable for monitoring, IoT, and real-time analytics

7. NewSQL Databases

Examples: CockroachDB, Google Spanner

2 common characteristics:

  • Combines the ACID properties of RDB with the scalability of NoSQL
  • Designed to handle large-scale data workloads

8. Multimodel Databases

Examples: ArangoDB, OrientDB

2 common characteristics:

  • Supports multiple data models (document, graph, key-value) within a single database
  • Flexible and versatile for various use cases

9. Cloud Databases

Examples: Azure SQL Database, Google Cloud SQL, Amazon RDS

2 common characteristics:

  • Hosted and managed on cloud platforms
  • Offers scalability, high availability, and managed services

10. Hierarchical Databases

Examples: IBM Information Management System (IMS)

2 common characteristics:

  • Data organized in a tree-like structure
  • Efficient for hierarchical data relationships

11. Network Databases

Examples: Integrated Data Store (IDS)

2 common characteristics:

  • Data is organized in a graph structure with nodes and edges
  • Flexible relationships but more complex than hierarchical databases.

From my point of view, understanding the various types of databases helps in selecting the right one for specific application requirements, ensuring optimal performance, scalability, and functionality. However, the popularity of community support is also a crucial key to choosing the right candidate.


메타데이터
post_id
cf2e3b61de41
slug
the-world-of-database-variations-cf2e3b61de41
url
https://medium.com/@justdinhnq/the-world-of-database-variations-cf2e3b61de41
canonical_url
https://medium.com/@justdinhnq/the-world-of-database-variations-cf2e3b61de41
author_url
https://medium.com/@justdinhnq
status
ok
fetched_at
2026-07-17 07:50:55