You are previewing NoSQL Distilled: A Brief Guide to the Emerging World of Polyglot Persistence.

NoSQL Distilled: A Brief Guide to the Emerging World of Polyglot Persistence

Cover of NoSQL Distilled: A Brief Guide to the Emerging World of Polyglot Persistence by Martin Fowler... Published by Addison-Wesley Professional
O'Reilly logo

Chapter 2. Aggregate Data Models

A data model is the model through which we perceive and manipulate our data. For people using a database, the data model describes how we interact with the data in the database. This is distinct from a storage model, which describes how the database stores and manipulates the data internally. In an ideal world, we should be ignorant of the storage model, but in practice we need at least some inkling of it—primarily to achieve decent performance.

In conversation, the term “data model” often means the model of the specific data in an application. A developer might point to an entity-relationship diagram of their database and refer to that as their data model containing customers, orders, products, and the like. ...

The best content for your career. Discover unlimited learning on demand for around $1/day.