Skip to content
BENIBIX Learn

NoSQL Database

Development🗃️ DatabasesNoSQL Databases

Also known as NoSQL, Non-Relational Database, Not Only SQL

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

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.

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.

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.

Common mistake

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

Key takeaways

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

Compare