Content directory:
- Why use a NoSQL database?
- Key-Value Database
- Document Database
- Column Family Database
- Graph database
- Attached Mind Map
- Reference
NoSQL Series: Choosing the right database why use a NoSQL database?
Impedance imbalance
Relational model and in-memory data structures do not match
Improve development efficiency with more convenient data interaction
Large amount of data to be processed
The amount of data exceeds the load-carrying capacity of relational database
The emergence of large clusters
In terms of cost, the application of relational database in the cluster, the license fee is a large expenditure;
Scale-out and scale-out: relational databases can generally only be scaled vertically, implemented by the performance enhancements of single-machine servers, and for scaling to multiple servers,
(DBMS not designed for use by the cluster)
High efficiency requirements for data access
Classification key-value database for NoSQL databases
Products
Redis
Berkerleydb
Memcached
Project Voldemort
Riak
LevelDB
Applicable scenarios
Storing session information
User Configuration information
Shopping Cart Data
Not suitable for the scene
There is a lot of relationship between data
Transactions that contain multiple operations
Querying data based on the part of the key value
Operation Keyword Collection
Document Database
Products
Mongodb
Couchdb
RavenDB
Terrastore
Orientdb
Applicable scenarios
Event logging
Content management system and blog platform
Website analysis and real-time analysis
E-commerce applications
(Requires more flexible mode, low cost to build data model)
Not suitable for scenes
Complex query with multiple operations
Querying a continuously changing aggregation structure
Column Family Database
Products
HBase
Amazon SimpleDB
Cassdndra
Hypertable
BigTable (Google)
Applicable scenarios
Event logging
(Save application state, errors encountered during run)
CMS and blogging platform
Counter
Scenario Not applicable
Acid Transaction Required
Where query patterns change frequently
Graph database
Products
Flockdb
Hypergraphdb
Infinite Graph
Neo4j
Orientdb
Applicable scenarios
Interconnect data
Recommended engine
Location-based Services
Scenario Not applicable
Update entities for all or a subset
Attached Mind Map
Reference
The essence of NoSQL