NoSQL is short for not only SQL (does not mean there is no SQL).
Common features of NoSQL include:
Comparing SQL and NoSQL:
SQL | NoSQL | |
---|---|---|
Scalability | Vertically scalable | Horizontally scalable |
Schema | Fixed schema | Dynamic schema (or none) |
Ecosystem | Mature | Emerging |
Storage Size | ~TB | ~PB |
Consistency | Strong consistency | Eventual consistency |
SQL conforms to ACID, as it is the “gold standard” for RBDMS:
NoSQL generally conforms to BASE - “good enough” for NoSQL:
There are also different types of databases which are typically used with SQL and NoSQL: