Skip to main content

Command Palette

Search for a command to run...

4 Types of NoSQL Databases with examples

Published
1 min readView as Markdown
4 Types of NoSQL Databases with examples
C
酷愛計算機技術Ardently Love Computer Technology 長期關註反洗錢反欺詐Long-term Focus on Anti-Money Laundering and Anti-Fraud 精通支付結算的技術、系統、流程和製度Proficient in the Technology, System, Process and Institution of Payment and Settlement

[1] Document Databases

This is probably the most popular category of NoSQL databases.
Data is stored in JSON, BSON, or XML format.
A table is a collection of records. Records are known as documents
Documents can closely mimic the application domain object.
Examples - MongoDB, Couchbase, etc.



[2] Key Value Stores

Each element is stored as a key-value pair.
It's similar to relational DB but with only two columns - key & value.
The value can be an object.
Examples - Redis, DynamoDB



[3] Column-Oriented Databases

In RDBMS, Data is stored row by row.
But in Column-Oriented Database, data is stored as a set of columns.
More efficient for aggregation queries.
For example, find the total number of employees in a department.

Examples - MonetDB, Apache HBase



[4] Graph Databases

Graph DBs deal with relationships between data elements.
Each element is a node and it is connected to other elements.
They support different data formats such as JSON and key-value.
Not used as commonly as Document or Key-Value storage.

Examples - Neo4J, Amazon Neptune.


More from this blog

Penetration Test、Python、Weaponization

721 posts

微信 smartcat9999 反欺詐Anti-Fraud 反洗錢Anti-Money Laundering 反逃稅Anti-Tax Evasion 滲透測試Penetration Test 武器化Weaponization