Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

versities (with attributes Name, Create an example with instances of students in

ID: 3581731 • Letter: V

Question

versities (with attributes Name, Create an example with instances of students in two different phone) Your most universities. frequen ail address of an that ask for the number and the owing in a individual given phone would store the database name. Show how Amns together Email, for the following decide to keep multip in a column-oriented database you can [2 pts] if needed.) a) How do NoSQL database scale to handle What is the erence extremely large datasets? example. between sharding and replication? in with a clear, simple Why is journaling used in MongoDB? 1 pt] Compare the pros and the cons of having the ACID properties versus the B erties. pts] what circumstances while doing a write would using "One" consistency Under sandra result in less data loss than when you use "Any" consistency. That is, sl situation when "Any" results in data loss but "One" does not. 1 ptsl What is consistent hashing? Where is it used? [1 pt] data

Explanation / Answer

NoSQL database allows users to add dynamic schema unlike predefined schema in SQL databases.

NoSQL database is a set of nodes which forms a cluster. So when your database needs to handle a large amount of data and wanted to scale up. You can add a node to your existing schema. For example : NoSQL is a cluster of a,b,c nodes and you have only used the node a. Now, you want to scale up so you can add b node into your schema.

Now difference between sharding and replication is that,

In Sharding, NoSQL databases spread data across servers so that it can balance data and query load across servers. And in case of any server down, it can easily replace data in a faster manner without letting application down.

Whereas Replication, replicates databases to support planned maintenance activities or any other outage of events. It offers automated recovery from failure. It makes availability of databases across multiple geographic locations.