Difference between revisions of "NoSQL"

From TedYunWiki
Jump to navigation Jump to search
Line 4: Line 4:
 
*# Data model: ''(key, value)'' pairs
 
*# Data model: ''(key, value)'' pairs
 
*# Operations: '''Insert'''(key, value), '''Fetch'''(key), '''Update'''(key), '''Delete'''(key)
 
*# Operations: '''Insert'''(key, value), '''Fetch'''(key), '''Update'''(key), '''Delete'''(key)
 +
*# Some allow (non-uniform) '''columns''' <u>within value</u>.
 +
*# Some allow Fetch on range of keys.
  
 
*Implementation: efficiency, scalability, fault-tolerance
 
*Implementation: efficiency, scalability, fault-tolerance
 
** Records distributed to nodes based on key
 
** Records distributed to nodes based on key
 
** Replication
 
** Replication
** Single-record trasactions, "eventual consistency".
+
** Single-record transactions, "eventual consistency".

Revision as of 18:14, 17 November 2013

Key-Value Stores

  • Interface: extremely simple
    1. Data model: (key, value) pairs
    2. Operations: Insert(key, value), Fetch(key), Update(key), Delete(key)
    3. Some allow (non-uniform) columns within value.
    4. Some allow Fetch on range of keys.
  • Implementation: efficiency, scalability, fault-tolerance
    • Records distributed to nodes based on key
    • Replication
    • Single-record transactions, "eventual consistency".