Original: Http://blog.monitis.com/index.php/2011/05/22/picking-the-right-nosql-database-tool/nosql Learning website recommended:/HTTP nosql-database.org/http://blog.nosqlfan.com/
1.key-value Storage
Examples |
Tokyo cabinet/tyrant, Redis, Voldemort, Oracle BDB |
Typical application Scenarios |
Content caching, which is used primarily for high-access loads that handle large amounts of data, for some log systems, and so on. |
Data model |
Key-value pairs that point to value, usually with hash table |
Strengths |
Fast Search Speed |
Weaknesses |
Data is unstructured and is usually used only as a string or binary data |
2. Column Database
Examples |
Cassandra, HBase, Riak |
Typical application Scenarios |
Distributed File Systems |
Data model |
To store the same column of data in a clustered type |
Strengths |
Find Fast, scalable, and easily distributed extensions |
Weaknesses |
function relative limitation |
3. Document-based database
Examples |
CouchDB, MongoDb |
Typical application Scenarios |
Web applications (similar to Key-value, value is structured, but the database is able to understand the contents of value) |
Data model |
Key-value corresponding key-value pairs, value is structured data |
Strengths |
Data structure requirements are not strict, table structure is variable, do not need to be like a relational database need to pre-defined table structure |
Weaknesses |
Query performance is not high, and the lack of uniform query syntax. |
4. Graph Structure Database
Examples |
Neo4j, Infogrid, Infinite Graph |
Typical application Scenarios |
Social networks, referral systems, and more. Focus on building a relationship map |
Data model |
Graph structure |
Strengths |
Using graph structure correlation algorithm. such as shortest path addressing, N-degree relationship lookup, etc. |
Weaknesses |
Many times need to calculate the entire graph to get the information needed, and this structure is not very good for the distributed cluster scheme. |
Four types of NoSQL databases