Professional Documents
Culture Documents
ASSIGNMENT
MAIN CHARACTERISTICS OF
KEY-VALUE DATABASE
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
REDIS
Redis is one of the popular key-value databases as it is an open-source, in-memory
data structure, used as a database and message broker. REDIS supports many data
structures such as lists, hashes, sets, strings. REDIS has many more important
features such as it has built-in replication, LUA scripting and it also supports LRU
eviction.
Redis is a NoSQL database which follows the principle of key-value store. The key-
value store provides ability to store some data called a value, inside a key. You can
recieve this data later only if you know the exact key used to store it.Redis is a
NoSQL database which follows the principle of key-value store. The key-value store
provides ability to store some data called a value, inside a key. You can recieve this
data later only if you know the exact key used to store it.
CHARACTERISTICS OF KEY-VALUE DB
1. Simple Data Model
2. Scalability and Performance
3. High Throughput
4. No Schema Constraints
5. In-Memory Storage
6. Persistence and Durability
7. Persistence and Durability
1.Simple Data Model
Key-value databases have a simple and straightforward data
model, where data is stored and accessed based on unique keys.
Each key is associated with a value, and these pairs form the
basic structure of the database.
Example in Redis:
SET key1 value1
2.Scalability and Performance
REFERENCE LINK
https://redis.io/documentation
https://www.w3resource.com/redis/
https://www.geeksforgeeks.org/features-of-key-value-store-in-nosql/