Skip to content

Instantly share code, notes, and snippets.

@sibelius
Created October 31, 2022 17:09
Show Gist options
  • Save sibelius/47236c85fe09d1e5c251630ec66ee10a to your computer and use it in GitHub Desktop.
Save sibelius/47236c85fe09d1e5c251630ec66ee10a to your computer and use it in GitHub Desktop.
Data modeling

What is Data Modeling?

Data modeling is to decide where and how are you going to store your data.

You need to think in the shape of data.

In how many tables/collections should you separate your data?

What are the fields of each table/collection?

How one table is related to another?

What are the data pattern acccess to your data? How do you retrieve data?

Tradeoffs of storing all data in the same database, in the same table, in different tables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment