lecture 12 kv - github pages · rdms developers still recruiting developers to the nosql camp...
TRANSCRIPT
CS639:DataManagementfor
DataScienceLecture12:NoSql andKeyValue stores
TheodorosRekatsinas
SlidesborrowedbyKathleenDurant
1
Today’sLecture
1. IntrotoNoSQL
2. NoSQLAssumptionsandtheCAPTheorem
3. StrengthsandweaknessesofNoSQL
4. Example:MongoDB
2
1. IntrotoNoSQL
3
TaxonomyofNoSQL
TypicalNoSQLarchitecture
2.NoSQLAssumptionsandtheCAPTheorem
6
CAPtheoremforNoSQL
• WhattheCAPtheoremreallysays: Ifyoucannotlimitthenumberoffaultsandrequestscanbedirectedtoanyserverandyouinsistonservingeveryrequestyoureceivethenyoucannotpossiblybeconsistent
• Howitisinterpreted: Youmustalwaysgivesomethingup:consistency,availabilityortolerancetofailureandreconfiguration
CAPtheoremforNoSQL
9
Sharding ofdata
ReplicaSets
3.StrengthsandweaknessesofNoSQL
12
HowdoesNoSQLvaryfromRDBMS?
BenefitsofNoSQL
BenefitsofNoSQL
DrawbacksofNoSQL
DrawbacksofNoSQL
ACIDorBASE
4.MongoDB
19
WhatisMongoDB?
FunctionalityofMongoDB
WhyuseMongoDB?
MongoDB:CAPapproach
MongoDBDatamodel:HierarchicalObjects
SchemaFree
MongoDBFeatures
IndexFunctionality
CRUDoperations
Queryoperations
Aggregatedfunctionality
Mapreducefunctionality
Summary