Code Fellows courses Notes
This project is maintained by QamarAlkhatib
SQL | NoSQL | |
---|---|---|
SQL databases are relational | NoSQL databases are non-relational | |
use structured query language and have a predefined schema | NoSQL databases have dynamic schemas for unstructured data | |
vertically scalable | horizontally scalable | |
table-based | document, key-value, graph, or wide-column stores | |
better for multi-row transactions | better for unstructured data like documents or JSON |
Which type of database is best for hierarchical data storage?
In SQL You can manage increasing load by increasing the CPU, RAM, SSD, etc, on a single server.
In NOSQL You can just add few more servers easily in your NoSQL database infrastructure to handle the large traffic.