Key-Value NoSQL Database

0 %
100 %
Information about Key-Value NoSQL Database

Published on March 10, 2014

Author: HemanHosainpana



this presentation describe NoSQL data model and consistency topic and introduce Key-Value database

Distributed Database

Data Model • Relation • The Dominant Data Model of Last Couple Decade • Table, Column, Rows • Cannot Nest One Tuple Within Another • Aggregate • Collection of related object that we wish to treat as a unit • Consistency Unit

Relational Data Model

Aggregate Data Model

• Aggregate-Ignorant • Relational Data Model • Graph • Aggregate-Oriented • Key-Value • Document • Column Family Data Model Types

Distribution Model • Single Server • Sharding (Horizontal Scalability) • Put different data on different node. • Replication • Take the same data and copies it over multiple node.


Master-Slave Replication

Peer-to-Peer Replication

Combining Sharding and Replication

Combining Sharding and Replication


Update Consistency • Write-Write Conflict • Lost Update • Pessimistic Consistency • Optimistic Consistency

Read Consistency

Replication Inconsistency

Relaxing Consistency • Eventual Consistency • Quorums • CAP Theorem • Consistency • Availability • Partition Tolerance

CAP Theorem

Key-Value Group A

What's Key-Value Store • Simple Hash Table • Collection of Key-Value Pair • Associate Array • The Key Unique Within Collection

Basic Operation • Insert Pair • Delete Pair • Update Value Of Existing Pair • Find Value Associate With a Particular Key

Performance Factor • The efficiency of the hashing function. • The design of the keys and the size of the values being stored and retrieved. • The distribution of data across partitions. • The functional patterns that applications follow to store and retrieve data.

Storing All the Data in a Single Bucket

Terminology – Oracle vs. Riak

Some of The Popular Key-Value Databases • Redis • Riak • Memcache DB • BerkeleyDB • HamsterDB • Amazon DynamoDB • Project Voldemort

Key-Value Store Features • Consistency • Consistency is applicable only for operations on a single key • Eventually Consistent in Distribute Implementation • Transaction • Quorum • Query • Structure Of Data • Scaling • Sharding • CAP

Suitable Use Case • Storing Session Information • User Profiles, Preferences • Shopping Cart Data

When Not to Use • Relation Among Data • Multioperation Transactions • Query by Data • Operations by Sets

Distributed, Masterless, Highly-Available Key-Value Store



Redis Features • Extremely Fast! • Ability to store more than just strings • Persistence • Replication • Built in LUA support


Add a comment

Related presentations

Related pages

NoSQL - Wikipedia, the free encyclopedia

History. The term NoSQL was used by Carlo Strozzi in 1998 to name his lightweight, Strozzi NoSQL open-source relational database that did not expose the ...
Read more

NoSQL Databases Explained | MongoDB - MongoDB for GIANT ...

NoSQL Database Types. Document databases pair each key with a complex data structure known as a document. Documents can contain many different key-value ...
Read more

NoSQL – Wikipedia

NoSQL dagegen kann mit vielen Schreib-/Leseanfragen umgehen. Beispiele dafür finden sich bei Digg, ... Key-Value Spaltenorientiert Dokumentorientiert;
Read more

Oracle NoSQL Database key-value pairs

Oracle NoSQL Database Key-Value Pairs. In its simplest form, Oracle NoSQL Database implements a map from user-defined keys (formatted as Strings) to opaque ...
Read more

Oracle NoSQL Database Technical Overview

Oracle NoSQL Database is a scalable, distributed NoSQL database, designed to provide highly reliable, flexible and available data management across a ...
Read more

nosql - What is a Key/Value store database? - Database ...

I've been looking at the wikipedia page for NoSQL and it lists several variations on the Key/Value store database, but I can't find any details on what it ...
Read more

NoSQL Database Cloud Service | Oracle Cloud

A scalable key-value database providing high availability, transactions, parallel query, and more.
Read more

Key-value database - Wikipedia, the free encyclopedia

A key-value store, or key-value database, is a data storage paradigm designed for storing, ... Another example of key-value database is Oracle NoSQL Database.
Read more

NoSQL : Key-Value stores and range based operations ...

In the NoSQL database space, the key-value store (as opposed to Document, Graph, Object, XML stores) has the strongest reputation for being able to scale ...
Read more

NOSQL Databases

NoSQL DEFINITION: Next Generation Databases mostly addressing some of the points: being non-relational, distributed, open-source and horizontally scalable
Read more