👉 What are the types of NoSQL databases?
1. Key-value
* Here the data is stored in key value pairs. Each data is stored in an attribute name and its corresponding value.
* This has two columns in which the first column is the key and the second column is the value.
* Examples : Redis, Riak, memcached.
2. Document.
* This database type stores data in JSON, BSON or XML documents.
* Its is the most common database type. The popular MongoDB is the type of document database.
* Document databases are flexible to rework the modify structures according to the application, shaping their data structures as their application requirements change overtime.
3. Column-family.
* Store data in column families.
* Columns are grouped according to the data and organized to columns appropriately. This helps to read the columns directly without consuming memory.
4. Graph.
* This database type focuses on the relationship between the data elements.
* This is much similar to a relational database which the connections between the data elements are called links or relationships.
* This database organize the data elements along with its relationship in a analytics format which is easy to understand and grab the database content.
* The example for a graph database is Neo4j.
Read more on NoSQL database types
No comments:
Post a Comment