UNIT6 NOSQL and CAP Theorem Exam With
Complete Solutions
NoSQL databases, also known as not only SQL, are non-tabular databases, and store
data differently from relational tables.
What is NoSQL database?
NoSQL databases come in a variety of types based on their data model. The main ones
are key-value, wide-column, document and graph
What are types of NoSQL databases?
Traditional RDBMS uses SOL syntax to store and retrieve data for further insight.
Instead, in NoSQL databases, it encompasses a wide range of database technologies
that can store structured, semi-structured, and unstructured data.
Differences in RDBMS and NoSQL data storage and retrieving .
SQL databases are relational whereas NOSQL databases are non-relational
SQL databases use structured query language and have pre-defined schema whereas
NOSQL databases have dynamic schemas for unstructured data.
SQL databases are vertically scalable while NoSQL databases are horizontally scalable.
SQL databases are table-based while NOSQL databases are key-value, document,
wide-column, graph etc.
Sol databases are better for multi-row transactions while NOSQL is better for
unstructured data like documents or JSON
, SQL follows ACID properties while nosql follows CAP.
Examples of SQL databases are MySQL, eSQL, Oracle, MS-SQL Server etc while NOSQL
is MongoDB, HBase, Cassandra, Neo4j etc.
NoSQL databases are mainly categorized into four types - key-value pair,
Column-oriented (wide-column), Graph-based and document-oriented
What are the types of no SQL databases?
Data is stored in key /value pairs.
How is data stored in key - value pair database
Key - value pair database is designed in such a way to handle lots of data and heavy load
In what way is key - value pair database designed?
Key-value where storage data faces store data as hash tables where each key is unique,
and the value can be JASON, BLOB (Binary Large objects) string et cetera
Explain key - value pairs storage
Keyvalue pairs is a kind of database used as a collection, dictionaries, associative
arrays et cetera. Key value stores help the develop or to store schema - less data. They
work best for shopping cart contents.
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Easton. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for £12.30. You're not tied to anything after your purchase.