data model
The description of what data a system stores, how it is grouped into records, and how those records relate.
In more detail
Functional requirements largely decide the data model, and the data model then limits which storage and partitioning choices are easy. A failure mode you cannot accept often sends you back to change it.
Related terms
- functional requirement — Something a system must let a user do, written as a verb, such as post a message or upload a photograph.
- relational database — A database that stores data in tables and links rows in one table to rows in another through shared key values.
- document database — A NoSQL database that stores each record as a flexible document, usually JSON, with its own nested structure.
- entity — A thing in an application's domain with its own identity, such as a user, account or product, usually stored in a database.
Taught in
- What A Design Is For, And How To Run A Design Discussion — Scalable System Design & Distributed Architecture
- Requirements: The Constraints That Shape The System — Scalable System Design & Distributed Architecture
- Monolith Versus Services: The Honest Trade Offs — Scalable System Design & Distributed Architecture
- Worked Design Three: A Metrics Ingestion Pipeline — Scalable System Design & Distributed Architecture