Please enable JavaScript.
Coggle requires JavaScript to display documents.
No SQL, https://bigdata-ir.com/wp-content/uploads/2017/04/NoSQL-Distilled…
No SQL
Distribution Models
Single Server
recommend
no distribution at all
Sharding
a busy data store
accessing different parts of the dataset
improve
performance
place the data closter
distributed across the
various shards
NoSQL databases offer auto-sharding
Master-Slave Replication
replicate data across multiple nodes
One node is the master
The other nodes are slaves
. Peer-to-Peer Replication
not have a master
all accept write
synchronize their
copies of the data.
. Combining Sharding and Replication
use
master-slave replication
sharding
multiple masters
data item only have
single master
Consistency
Update Consistency
writes
server serialize them
apply one
Read Consistency
replication
consistency
Relaxing Durability
node processes an update but fails
failure of replication
durabilit
Relaxing Consistency
The CAP Theorem
very request
received by a nonfailing node in the system must result in a response
Quorums
replication
fast, strongly consistent reads
Why NoSQL
The Value of Relational Databases
Getting at Persistent Data
main memory
backing store
both limited in space and loses all data
Concurrency
same body of data
modifying that data
difficult
. Integration
requires multiple applications
cluster still has the disk
subsystem
. Impedance Mismatch
provide many advantages
no perfect
elegance and simplicity
limitations
Application and Integration Databases
dramatically more complex
Attack of the Clusters
data and traffic now required more computing resources
Aggregate Data Models
Aggregates
lists and other record structures to be nested inside it.
json
Consequences of Aggregate Orientation
aggregate-ignorant is not a bad thing.
Key-Value and Document Data Models
structure
in the aggregate
general size limit
other than that we have complete freedom
Column-Family Stores
HBase and
Cassandra.
Pre-NoSQL column stores
column-family model is as a two-level
Row-oriented
Column-oriented
The Emergence of NoSQL
Strozzi,
database doesn’t use SQL
Most need to run on clusters
needs of the early 21st century web estates
accidental neologism
https://bigdata-ir.com/wp-content/uploads/2017/04/NoSQL-Distilled.pdf