DBMS - Unit 6 (Advances in Databases)
DBMS - Unit 6 (Advances in Databases)
Consistency - all nodes see the same data at the same time
Eventual Consistency:
Given enough time, data will be
consistent across the distributed
system.
NoSQL Data Models
Key-value type (Redis)
value corresponds to a Key.
Column-based (Cassandra)
database using Table. more suitable application on aggregation and
data warehouse.
Document-type(MongoDB)
No table structure is used.
Graph-based (Neo4J)
store an information about networks.
NoSQL Data Processing Tools
Key-value databases- Redis (CP)
o The maximum of value limit to 1 GB.
o suitable for providing high performance computing to small amount of
data.
o main drawback is that capacity of the database is limited by physical
memory.
o Support sql queries.
o Simple values or data structures by keys
Column-oriented database-Cassandra
o Multi-datacenter replication
o Support for map/reduce, good for analytics, data warehousing
o Tunable consistency & strong availability and partition tolerance
(AP)
o No single point of failure
o Probably the easiest of this list to manage in big/growing clusters
Fact reading from database
Document database- MongoDB
Sophisticated
General Support query
Rich data
complex data language
Purpose model
types reduceable to
SQL
Simple to
Easy to Easy mapping
setup and
to object High-speed
Use oriented code
manage
Dynamically
Fast & open source and
no cost to use
Auto-sharding add / remove
Scalable download built in capacity with no
downtime
MongoDB is easy to use
MySQL MongoDB
Database Database
Table Collection
Column Field