SQL NoSQL NewSQL
SQL NoSQL NewSQL
SQL NoSQL NewSQL
CAP Theorem
2012 Brewer
Distributed
Consistency- we all lie the same
Availability- good/no-good Ill tell ya
Partition tolerance- Ill cover my buddies
BASE
A & P at the cost of C
No-SQL
Flexible
Types
Column: Accumulo, Cassandra, Druid, HBase, Vertica
Vroom
http://en.wikipedia.org/wiki/Comparison_of_structured_storage_software
Data Model
Performanc
e
Complexity
Functionalit
y
KeyValue
Store
high
high
high
none
variable
(none)
ColumnOriented
Store
high
high
moderate
low
minimal
DocumentOriented
Store
high
variable
(high)
high
low
variable
(low)
Graph
Database
variable
variable
high
high
graph theory
Relational
Database
variable
variable
low
moderate
relational
algebra
Scalability
Flexibility
Couchbase
Action
RW
++/- Touch
CAS
Lock
Async
Observe
Flush
Packet
Metadata
TTL
CAS
Flags
Sequence number
Key
String; special chars as separators
250bytes
All in RAM
Document
Memcached-1MB; Persisted-20MB