NoSQL is an alternative to the traditional relational database system. There is a significant growth of using NoSQL databases, particularly in big companies. Answer the following questions in relation to NoSQL. a) Why NoSQL is better than relational database for big data? Compare and contrast the differences between relational databases and NoSQL databases. Your discussion should touch on performance, operational workloads and scale. Compare the circumstances under which you would use one over the other and provide contrasting examples. b) Which guarantee (Consistency, Partition tolerance, availability) and can be relaxed for the following use case? 1. Data can be served on a single server. 2. Data is too big to be served on a single server and is not altered/modified after creation. 3. The data is too big to be served so should be queried within a certain time.
Answer:----------
a). Why NoSQL is better than relational database for big data
:--------
Differences between relational databases and NoSQL
databases:--------------
NoSQL databases, or non-relational databases, can be document
based, graph databases, key-value pairs, or wide-column stores.
NoSQL databases don’t require any predefined schema, allowing you
to work more freely with “unstructured ata.” Relational databases
are vertically scalable, but usually more expensive, whereas the
horizontal scaling nature of NoSQL databases is more
cost-efficient.
b)
1. Data can be served on a single server.
==> Partition tolerance
2. Data is too big to be served on a single server and is not
altered/modified after creation. ==>
Consistency
3. The data is too big to be served so should be queried within a
certain time. ==> Availability
NoSQL is an alternative to the traditional relational database system. There is a significant growth of...
QUESTION 1 What is the most common relationship within a relational database? Select the best answer from the following. One-To-One relationship. o One-To-Many relationship. Many-To-Many relationship. Zero-To-Zero relationship. QUESTION 2 What is an "entity'? Select the best answer from the following. An entity, for our purposes, is the same as a table in the database. An entity represents one of the columns in an individual table. There are no entities in a relational database. Entities are only part of NoSQL...