Skip to main content

SQL vs NoSQL

This page is intentionally short in the starter project. It is a good candidate for one of the first What to Use When? infographics.

SQL tends to fit when

  • relationships and transactions matter,
  • the schema is reasonably structured,
  • joins and flexible querying are useful.

NoSQL tends to fit when

  • a specialized data model is a better match,
  • access patterns are known and narrow,
  • horizontal distribution or very high scale drives the design.

The real choice is workload-dependent rather than a blanket SQL-versus-NoSQL rule.