This presentation gives an introduction to how the NoSQL database movement came about. The original presentation contained some use-cases from industry where NoSQL databases are put into use. Due to lack of time, the later part was not presented and thus removed from this slide-share.
6. Id Name zip_code
1 Rick 30062
2 Lisa 30074
3 Sam 30006
6
Contacts:
Normalization and Joins
Id Phone_Number
1 555-111-1234
2 555-222-1234
2 555-345-1234
3 555-333-1234
Numbers:
SELECT Name, Phone_Number FROM contacts LEFT JOIN Numbers On
Contacts.contact_id=Numbers.contact_id WHERE contacts.contact_id=3
8. Navigational DBs
1980
Rise of relational
DBs
1990
Object-oriented
DBs
Dominance of
relationalen DBs
2000 2010 2020
Rise of
Internet
Web2.0
IoT
Social Media
8
21. Common Characteristics of NoSQL DBs
21
Non-Relational
Schemaless
Cluster-Friendly
Elimination of
Join Operations
Weaker
Concurrency Model
22. ACID Transactions
● Atomicity: “alle or nothing”
○ No interruption during the transaction
● Consistency: “valid data”
○ Bring the DB from one consistent state
to another consistent state
● Isolation: “one after another”
○ Concurrent transactions would be serialized
● Durability: “no lost”
○ Ensures that no committed transaction
will be lost
22
32. CAP Theorem (Brewer, Lynch)
● Consistency:
○ Do all applications see the same data?
● Availability:
○ Can I interact with the system in case of a failure?
● Partitioning:
○ When two segments of the system cannot communicate with each other, could it still continue working?
■ If yes, consistency is sacrificed.
■ If no, availability is sacrificed.
32