# NoSQL Database

> A database that does not use linked tables. It keeps data in other shapes.

**Field:** Software Development  
**Category:** Databases  
**Also known as:** NoSQL, Non-Relational Database, Not Only SQL

## Think of it like

Think of it like a set of drawers, each built for one shape of thing. Socks in one, shirts in another.

## Definition

A NoSQL database stores data in some shape other than linked tables. Some store documents, some store keys and values, and some store graphs of linked points. Most do not need a fixed schema, so each record can look a bit different. Many are built to spread across lots of servers. MongoDB and Redis are two well-known examples.

## Example

Jack's chat app saves each message as a document with its own fields. A NoSQL database lets new fields appear without changing a schema.

## Why it matters

Some data fits tables badly. NoSQL databases give it a better shape, or more speed at huge scale.

## Common mistake

Thinking NoSQL means no rules. The rules move into your code, and you have to keep them yourself.

## Three principles

- **Not tables.** Documents, keys or graphs.
- **Flexible shape.** Records can differ.
- **Built to spread.** Many run across many servers.

## Related terms

- [Document Database](https://learn.benibix.com/term/development/document-database)
- [Key-Value Store](https://learn.benibix.com/term/development/key-value-store)
- [Graph Database](https://learn.benibix.com/term/development/graph-database)
- [Relational Database](https://learn.benibix.com/term/development/relational-database)

## Told apart from

- [SQL vs NoSQL](https://learn.benibix.com/compare/sql-vs-nosql): A SQL database keeps data in linked tables with fixed rules. A NoSQL one uses other shapes, like documents or keys, and has looser rules.

---

Source: https://learn.benibix.com/term/development/nosql-database
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
