NoSQL databases

Benefits of NoSQL databases

Schema agnostic

Scalability Performance High availability Global availability

Types of NoSQL databases

1. Key-value store NoSQL database

Use cases: Here are some popular use cases of the key-value databases:

For storing user session data

Maintaining schema-less user profiles

Storing user preferences

Storing shopping cart data

However key-value databases are not the ideal choice for every use case when:

We have to query the database by specific data value.

We need relationships between data values.

We need to operate on multiple unique keys.

Our business needs updating a part of the value frequently.

Examples of this database are Redis, MemcacheDB and Riak.

2.Document store NoSQL database

This structured/semi-structured value is referred to as a document and can be in XML, JSON or BSON format.

Use cases: Document store databases are preferable for:

E-commerce platforms

Content management systems

Analytics platforms

Blogging platforms

Examples of document store NoSQL databases are MongoDB, Apache CouchDB and Elasticsearch.

3.Column store NoSQL database

As an example, we often access customers’ names and profile information at the same time, but not the information on their orders.

The main advantages of storing data in columns over relational DBMS are fast search/access and data aggregation.

Use cases: Developers mainly use column databases in:

Content management systems

Blogging platforms

Systems that maintain counters

Services that have expiring usage

Systems that require heavy write requests (like log aggregators)

Examples of column store NoSQL databases are Cassandra and Apache Hadoop Hbase.

4.Graph base NoSQL database

Use cases: Graph base NoSQL databases are usually used in:

Fraud detection

Graph based search

Network and IT operations

Social networks, etc

Examples of graph base NoSQL databases are Neo4j, ArangoDB and OrientDB.

最后編輯于
?著作權歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務。

相關閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容