DDIA Reading Notes (2): Data Model and Query Language

lATY7U56IJO42FD.png

The DDIA book sharing session will be shared chapter by chapter, and some details will be added based on some of my experience in distributed storage and databases in the industry. Share every two weeks or so, welcome to join, the Schedule is here. We have a corresponding distributed & database discussion group, which will be notified in the group before each sharing. If you want to join, you can add my WeChat account: qtmuniao, briefly introduce yourself, and indicate: distributed system group.

summary

This section revolves around two main concepts.

How to analyze a data model :

  1. Basic inspection points: basic elements of data, and the correspondence between elements (one-to-many, many-to-many)
  2. Use several common models for comparison: (the most popular) relational model, (tree-like) document model, (extremely high degree of freedom) graph model.
  3. Schema mode: strong schema (constraint when writing); weak schema (parse when reading)

How to consider query language :

  1. How to associate and match with the data model
  2. Declarative and imperative

Source: https://www.qtmuniao.com/2022/04/16/ddia-reading-chapter2/

Leave a Comment