No SQL
No SQL
DATA
ANALYTICS
G. Sudha Sadasivam & R. Thirumahal
EXAMPLE
RELATIONAL
Document 2
Document 2
Document 3
Replication facilitates the availability of data. Eventual consistency ensures that replicas are
not stale. Partitioning ensures load distribution and scalability.
© Oxford University Press 2020. All rights reserved
CAP
• Only 2 can be satisfied at a time
AP follows BASE properties with eventual consistency. eg. Amazon’s Dynamo DB
without strict consistency
CP: ACID properties with strict consistency. Pessimistic locking ensures consistency.
eg. MongoDB and MemChache A CA system.
CA: cannot operate under network partitions
and hence it is neither ACID nor BASE. 2
phase commit protocol is used. For eg
Relational and Big table
Schema Schema-less