Data & Analytics

What is NoSQL?

Quick answer

A broad category of databases that store data in formats other than traditional relational tables, such as documents, key-value pairs, or graphs.

NoSQL, explained

Relational databases organize data into tables with fixed columns and use SQL for queries. NoSQL databases emerged to handle needs such as flexible schemas, very large scale, and high write speeds that rigid tables made difficult.

Main types include document databases like MongoDB, which store JSON-like records; key-value stores like Redis, used for caching and sessions; wide-column stores like Apache Cassandra, designed for huge distributed datasets; and graph databases like Neo4j, ideal for relationships such as social networks. The name is often read as not only SQL, since many NoSQL systems now support SQL-like queries. Choosing between relational and NoSQL depends on data shape, consistency needs, and query patterns.

Related terms

Guides that mention NoSQL