Databases 2 min read

Exploring Key-Value, Document, Column, and Graph Database Models

This article explains four fundamental database data models—key‑value pair, document, column, and graph—detailing their structures, scalability characteristics, and typical implementations such as Redis, MongoDB, HBase, and Neo4j.

Java High-Performance Architecture
Java High-Performance Architecture
Java High-Performance Architecture
Exploring Key-Value, Document, Column, and Graph Database Models

KVP (Key-Value Pair) Model

A simple, highly flexible and extensible model consisting of two associated data items. As data volume grows, computation increases, making databases using KVP models scale exponentially.

Typical examples: Redis, Riak.

Document Model

There are two types of document databases: (1) full‑document stores, like repositories for Word documents or complete web pages; (2) component‑document stores, holding parts of documents. They store data in JSON or BSON, making storage and retrieval very convenient.

Typical examples: MongoDB, CouchDB.

Column Model

Data is stored in columnar structures rather than rows, which is ideal for large, diverse datasets; adding new columns is straightforward.

Typical examples: HBase.

Graph Model

Uses graph structures to store and query data, placing structured data in a network of nodes and edges instead of tables, suitable for scenarios with many interrelated data points.

Typical examples: Neo4j.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

graph databaseColumnar Storagekey-value storedatabase models
Java High-Performance Architecture
Written by

Java High-Performance Architecture

Sharing Java development articles and resources, including SSM architecture and the Spring ecosystem (Spring Boot, Spring Cloud, MyBatis, Dubbo, Docker), Zookeeper, Redis, architecture design, microservices, message queues, Git, etc.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.