M3, C2 CAP Theorem
M3, C2 CAP Theorem
M3, C2 CAP Theorem
M3,C2
•Consistency, Availability, Partition tolerance.
both.
Consistency
• All the servers in the system will have the same data so
anyone using the system will get the same copy
regardless of which server answers their request.
Availability
CAP
Theorem • The system will always respond to a request (even if it's
not the latest data or consistent across the system or
just a message saying the system isn't working)
Partition Tolerance
• The system continues to operate as a whole even if
individual servers fail or can't be reached..
Schema-less Models
• Schema of a database system refers to designing of a structure for datasets and data
structures for storing into the database.
Ambiguity
The additional data may not be
structured and follow fixed schema as
NoSQL is schema-less.
In such case the data store consist of
Increasing additional data, such as documents,
Flexibility for blogs, face book pages and tweets.
Data NoSQL data store possess characteristic
Manipulation of increasing flexibility for data
manipulation.
Late binding of new attributes is allowed
and BASE is a flexible model for NoSQL
data stores.
This model accommodates the flexibility offered by
NoSQL and similar approaches to the management and
curation of unstructured data.
BASE consists of three principles:
• Basic Availability:
database management.
Document Store
Uses of
Document or file store
key value
store : Lookup table
Query-cache
HASH TABLE
• The hash key is a computed index using hash keys in the table-column.