Key-value Type
Key-Value store, or Key-Value database, is a type of NoSQL database that uses a simple key/value method to store data.
- The key-value part refers to the fact that the database stores data as a collection of key-value pairs. This is a simple method to save and retrieve data.
- Each key is unique and the values can be complex data types.
- The key is the identifier and the value is the data associated with the key.
- Because of their simplicity, key-value databases can perform operations quickly and can handle large amounts of data.
Example:
{
"key1" : "value1",
"key2" : "value2",
"key3" : "value3"
}
This shows data stored as key-value pairs where each key is unique.