SQL | NoSQL |
---|---|
Data uses schemas | schema-less |
Relations | No (or very few) relations |
Data is distributed across multiple tables | Data is merged/nested in a few collections |
Horizontal scaling is hard/impossible, and vertical is possible | both horizontal and vertical scaling is possible |
Limitations for lots of (thousands) read & write queries per second | Great performance for mass(simple) read & write requests |
Which type of database is best for scalability? - SQL is best for vertically scaled and NoSQL is best for horizontally scaled.