SQL | NoSQL |
---|---|
elational Database | non-relational or distributed database |
table based databases | document based, key-value pairs |
have predefined schema | dynamic schema |
vertically scalable | horizontally scalable. |
structured query language | queries are focused on collection of documents |
tables
Oracle
## What kind of data is a good fit a NoSQL database? collection of key-value pair, documents, graph databases or wide-column stores
## Give a real world example. MongoDB
SQL databases
SQL databases
SQL stands for Structured Query Language which is the best programming language held in relational database management system.
elational Database Design Process Define the Purpose of the Database
tables
collection of database objects linked with a particular database username.
COLUMN-ORIENTED DATABASE
NoSQL is particularly useful for storing unstructured data, which is growing far more rapidly than structured data and does not fit the relational schemas of RDBMS.
a database contains the collections of documents.
## Which is more flexible - SQL or MongoDB? and why? MongoDB is capable of handling large unstructured datasets
## What is the disadvantage of a NoSQL database? Less need for ETL Support for unstructured text Ability to handle change over time. No reliance on SQL magic. Ability to scale horizontally on commodity hardware. . Breadth of functionality. Support for multiple data structures