Current Trends in NoSQL, New SQL, and Study of NoSQL Like mongoDB Etc Database
Current Trends in NoSQL, New SQL, and Study of NoSQL Like mongoDB Etc Database
Lab 9
AIM:
Current trends in NoSQL, New SQL, And study of NoSQL like mongoDB etc Database
New SQL
The term NewSQL categorizes databases that are the combination of relational model with the
advancement in scalability, flexibility with types of data. These databases focus on the features
which are not present in NoSQL, which offers a strong consistency guarantee. This covers two
layers of data one relational one and a key-value store.
Advantages of NewSQL :
• It introduces new implementation to traditional relational databases.
• It brings together the advantages of SQL and NoSQL.
• It is easy to migrate between the type and needs of the user.
Disadvantages of NewSQL :
• They offer partial access to rich traditional systems.
• It may cause a problem in-memory architecture for exceeding volumes of data.
• The core foundation of such databases is relational systems which make it tricky to
understand.
Examples:
VoltDB, CockroachDB, NuoDB etc.
NOSQL:
A NoSQL originally referring to non SQL or non relational is a database that provides a mechanism
for storage and retrieval of data. This data is modeled in means other than the tabular relations used
in relational databases.
NoSQL databases are used in real-time web applications and big data and their use are increasing
over time. NoSQL systems are also sometimes called Not only SQL to emphasize the fact that they
may support SQL-like query languages.
Advantages of NoSQL:
There are many advantages of working with NoSQL databases such as MongoDB and Cassandra.
The main advantages are high scalability and high availability.
1. High scalability
NoSQL database use sharding for horizontal scaling. Partitioning of data and placing it
on multiple machines in such a way that the order of the data is preserved is sharding.
Examples of horizontal scaling databases are MongoDB, Cassandra etc..
2. High availability
Auto replication feature in NoSQL databases makes it highly available because in case
of any failure data replicates itself to the previous consistent state.
UI19CO44
Disadvantages of NoSQL:
NoSQL has the following disadvantages.
1. Narrow focus
NoSQL databases have very narrow focus as it is mainly designed for storage but it
provides very little functionality. Relational databases are a better choice in the field of
Transaction Management than NoSQL.
2. Open-source
NoSQL is open-source database. There is no reliable standard for NoSQL yet. In other
words two database systems are likely to be unequal
Examples:
MongoDB, Firebase, DynamoDB
DynamoDB:
DynamoDB allows users to create databases capable of storing and retrieving any amount of data
and comes in handy while serving any amount of traffic. It dynamically manages each customer’s
requests and provides high performance by automatically distributing data and traffic over servers.
It is a fully managed NoSQL database service that is fast, predictable in terms of performance, and
seamlessly scalable. It relieves the user from the administrative burdens of operating and scaling a
distributed database as the user doesn’t have to worry about hardware provisioning, patching
Softwares, or cluster scaling. It also eliminates the operational burden and complexity involved in
protecting sensitive data by providing encryption at REST.