Open In App

Features of Key-Value Store in NoSQL

In this article, we learn about the features of the key-value store in NoSQL. Before starting this topic we must know some basics of NoSQL and types of NoSQL.

NoSQL refers to a non SQL or nonrelational database that main purpose of it is to provide a mechanism for storage and retrieval of data. NoSQL database stores the information in JSON documents instead of columns and rows. As we know the relational database use rows and columns for storing and retrieval of data but in the case of NoSQL it uses JSON documents instead of rows and columns and that is why it is also known as nonrelational SQL or database.



A NoSQL database includes simplicity of design, simpler horizontal scaling, and has fine control over availability. The data structures used in the NoSQL database are different from those we used in the relational database. the database used in NoSQL is more advanced which makes some operations faster in NoSQL.

Figure 1: Graphical difference between SQL and  NoSQL 

For more details, please refer to the article: Difference between SQL and NoSQL.



Why NoSQL is Used?

Types of NoSQL:

These are some of the most popular types of NoSQL as follows:

What is the Key-Value Store NoSQL?

This is a specific type of NoSQL database in which the key-value method is used and its main purpose is to represent the various key-value pairs. Here the keys are called unique identifiers for values and values can represent more than one type of object like  – a string or even a string.

This is different from a relational database in such a way, key-value databases do not contain any defined structure as we know that relational databases represent data into tables and columns by which relational database has a well-defined structure and its data types are assigned to its columns whereas key-value database contains a pair of keys and values. 

Think about a dictionary such as a dictionary containing various words and their meanings. so here the word in the dictionary is the key and its meaning as the values. key names can be specified from as simple as numbers to any specific descriptions of the values.

In the given below example, we have a pair of keys and values as we discussed above as in the on left there is a column for key and their values are defined on the right of these keys.

Figure 2: Diagram of Key-Value Store in NoSQL

Features of Key-Value Store:

 Popular Key-Value Databases:

Article Tags :