Briefly explain Key-Value database

 Posted by Niladri.Biswas on 12/11/2012 | Category: Others Interview questions | Views: 1393 | Points: 40

Key-value stores allow the application to store its data in a schema-less (key, value) pairs. These data can be stored in a hash table like data-types of a programming language - so that each value can be accessed by its key. Although such storage might not be very efficient - since they provide only a single way to access the values - but eliminates the need for a fixed data model.
Key Value
----- : ------
Id1_Name : Niladri Biswas
Id1_Citizenship : Indian

Id2_Name : Mike Curz
Id2_Citizenship : American

Since it is guarented to always have a unique key for a particular object, we can query the database for that unique key and get the results back from whichever node has the object.

Examples involve Rika,Dynamo etc.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response