NoSQL vocabulary

34 NoSQL terms, from Novice to Master. Start with the basics or jump to a level.

Updated

Novice

Column-Family Database
A database of flexible wide rows spread across many machines, like Cassandra.
Document Database
A database that stores each record as a JSON-like document.
Graph Database
A database of nodes connected by relationships.
Key-Value Store
A database that saves and fetches values by key, like a dictionary.
NoSQL
Databases that don't use fixed tables: document, key-value, graph and column-family.
Schemaless
The database doesn't enforce one shape for every record; your code does.

Apprentice

Collection
A group of documents, roughly like a table.
Denormalization in NoSQL
Copying data into the documents that read it, trading update effort for fast reads.
Document
One JSON-like record in a document database.
Embedding vs Referencing
Store related data inside the document, or point to it by ID.
Horizontal Scaling
Handling more load by adding machines rather than a bigger one.
JSON Document
Related data stored together in one JSON object.
Search Engine Database
A database built for fast, relevance-ranked text search.
Time-Series Database
A database built for time-stamped data like metrics and sensor readings.

Journeyman

Access Pattern Design
Designing NoSQL data around the queries the app will run.
BASE
The relaxed guarantees many NoSQL systems give, versus ACID.
CAP Theorem
During a network split, a distributed database must pick consistency or availability.
Eventual Consistency
Copies catch up shortly after a write, so a read may briefly be stale.
Partition Key
The field that decides which partition stores a record.
Replication
Keeping copies of data on several machines for safety and read capacity.
Secondary Index
An index for looking up records by a field other than the main key.
Sharding
Splitting data across several machines by key.
Strong Consistency
Every read sees the latest write.
TTL (Time to Live)
A setting that makes a record delete itself after a set time.

Freelancer

Change Feed
A stream of every change to the data, for other services to react to.
Consistency Levels
Settings that trade how fresh reads are against speed.
Hot Partition
One partition taking most of the traffic and slowing everything.
Multi-Model Database
One database product supporting several data models.
Polyglot Persistence
Using different kinds of databases for different jobs in one system.
Quorum
A majority of replicas, used so reads see the latest write.

Master

Conflict Resolution
Deciding the outcome when two copies were changed at once.
Consistent Hashing
Placing keys and machines on a ring so few keys move when machines change.
CRDT
A data structure whose independently changed copies always merge cleanly.
PACELC Theorem
Extends CAP: even without failures, choose between speed and consistency.

More subjects in Databases