I. The introduction of NoSQL
1. What is NoSQL
- NoSQL = not-only SQL
- Non-relational database
2. Why Use NoSQL
- High performance-highly concurrent read and write
- Huge Storage-efficient storage and access to massive data
- High Scalability && High availablity-highly scalable and highly available
Second, four categories of NoSQL databases
- Key-value pair storage (Key-value) such as: Redis ...
- Columnstore such as: Hbase ...
- Document storage such as: MongoDB ....
- Graphic database such as: Infogrid ...
Contrast:
Category |
related products |
apps |
data Model |
advantages |
Disadvantages |
Key-value pairs (key-value) |
Tokyo Cabinet/tyrant, Redis, Voldemort, Berkeley DB |
Content storage, primarily for high-access workloads that handle large amounts of data |
A series of key-value pairs |
Quick Query |
The stored data is missing a structured |
Column Store Database |
Cassandra, HBase, Riak |
Distributed File Storage System |
To store the same column of data in a clustered type |
Find Fast, scalable, More easily distributed extensions |
function relative limitation |
Document Type Database |
CouchDB, MongoDB |
Web applications (similar to Key-value, value is structured) |
A series of key-value pairs |
Data structure requirements are not strict |
Query performance is not high, and the lack of uniform query syntax |
Graphics database |
NEO4J, Infogrid, Infinite Graph |
Social networks. Referral system, etc., focused on building a relational map |
Graph structure |
Using Graph structure Correlation algorithm |
Need to calculate the whole graph to get results, not easy to do distributed cluster |
Third, the characteristics of NoSQL
- Easy to expand
- Flexible data Model
- Big data volume, high performance
- Highly Available
Redis Learning (1)---nosql introduction