——— | SQL | NoSQL |
---|---|---|
Language: | SQL | Varies |
—— | ACID COMPLIANCE | BASE PHilsophy |
——- | Joins Supported | Horizontal Scalability |
——- | Transactions Supported | Schema Flexibility |
——- | Mature & Established | Big Data & Unstructured Data |
1, SQL: structured, well defined & related
NoSQL graph databases
Structured Query Language
A database that organizes data into tables with relationships between them
Definition of the structure, tables, and constraints in a database.
NoSQL: a database that allows for flexible, schema-less data storage.
NoSQL uses various data models like key-value and document to store and retrieve data.
Mongo stores collections of JSON-like documents.
Mongo is more flexible allowing for dynamic schemas and easy modification of data structures