Get the App
SLTechnology News&Howtos  ›  Database  › 

How to choose the NoSQL database that works best for you

Shulou Source: shulou.com Published: 2022-05-31 23:12:32 10月03日 Update

Editor to share with you how to choose the most suitable for your NoSQL database, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

How to choose the NoSQL database that works best for you

Four categories of NoSQL

1.key-value storage

ExamplesTokyoCabinet/Tyrant,Redis,Voldemort,OracleBDB

Typical application scenario content caching is mainly used to deal with the high access load of a large amount of data, but also for some log systems and so on.

The data model Key points to the key-value pair of Value, which is usually implemented by hashtable

The speed of finding strengths is fast.

Weak item data is unstructured and is usually treated only as string or binary data.

two。 Column database

ExamplesCassandra,HBase,Riak

Distributed file system in typical application scenarios

The data model is stored in column clusters, where the same column of data is stored together.

Strong item search is fast and scalable, and it is easier for distributed expansion.

The function of weakness is relatively limited.

How to choose the NoSQL database that works best for you

3. Document database

ExamplesCouchDB,MongoDb

Typical application scenario Web application (similar to Key-Value, Value is structured, except that the database can understand the contents of Value)

The key-value pair corresponding to the data model Key-Value, and Value is structured data

Strengths: the data structure is not strict, the table structure is variable, and there is no need to define the table structure in advance like the relational database.

Weak query performance is not high, and lack of unified query syntax.

4. Graph structure database

ExamplesNeo4J,InfoGrid,InfiniteGraph

Typical application scenarios, social networks, recommendation systems, etc. Focus on building a relationship map

Data model graph structure

Strengths use graph structure correlation algorithms. Such as shortest path addressing, N-degree relation search, etc.

Weaknesses often need to calculate the whole graph to get the required information, and this structure is not easy to do distributed cluster scheme.

The above is all the contents of the article "how to choose the most suitable NoSQL database for you". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Data structure database application selection typical content scenario weaknesses strengths models distributed article system structured fast fast storage query different Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Docker Apple NVidia Microsoft