← Advanced DBMS learning path
Advanced DBMS · Module 8 of 10

NoSQL and NewSQL

Explore non-relational and scalable SQL systems.

📖 Key ideas

  1. NoSQL types: key-value (Redis), document (MongoDB), column-family (Cassandra), graph (Neo4j).
  2. Designed for scale, flexibility and availability.
  3. BASE: Basically Available, Soft state, Eventually consistent.
  4. NewSQL (Spanner, CockroachDB) offers SQL + ACID at scale.
  5. Choose by data model and access patterns.
💡 Real-life example: NoSQL databases are specialised kitchens; NewSQL is a big restaurant that still follows strict recipes.
NoSQLNon-relational databases
BASEEventual-consistency model
NewSQLScalable SQL with ACID
Graph databaseStores nodes and relationships