Minimal Modeling

Home
Notes
Archive
About
Many explanations of JOIN are wrong, and people get confused
Most common explanations of JOIN are incomplete and build the wrong mental model. As the result, people get confused. In this post we discuss the…
Nov 25, 2023 • 
Alexey Makhotkin
15

Share this post

User's avatar
Minimal Modeling
Many explanations of JOIN are wrong, and people get confused
Historically, 4NF explanations are needlessly confusing
4NF presented in a straightforward way, with some investigation of history of teaching 4NF.
Dec 5, 2024 • 
Alexey Makhotkin
6

Share this post

User's avatar
Minimal Modeling
Historically, 4NF explanations are needlessly confusing
20
240 tables and no documentation?
A bit of advice on extracting the logical schema from database tables
Apr 20, 2021 • 
Alexey Makhotkin
2

Share this post

User's avatar
Minimal Modeling
240 tables and no documentation?
2
Modeling mutual friendship
Is data duplication always bad? How to deal with the additional invariants in the relational table design?
Jul 20, 2021 • 
Alexey Makhotkin
2

Share this post

User's avatar
Minimal Modeling
Modeling mutual friendship
1
Sentinel-free schemas: a thought experiment
We systematically design a database schema that does not use NULLs and sentinel values. We look at the consequences of this design decisions and provide…
Dec 20, 2023 • 
Alexey Makhotkin
6

Share this post

User's avatar
Minimal Modeling
Sentinel-free schemas: a thought experiment
How to delete a lot of data
If you need to delete millions of rows and you're not careful, you can cause a database outage. Here is what you have to think about to solve this.
May 25, 2021 • 
Alexey Makhotkin

Share this post

User's avatar
Minimal Modeling
How to delete a lot of data
9
Erasure
Before we can continue the discussion of physical representation of either/or data, we need to discuss the idea of erasure. In computer science you most…
Mar 16, 2021 • 
Alexey Makhotkin

Share this post

User's avatar
Minimal Modeling
Erasure
Many faces of left join
Let's discuss the SQL LEFT JOIN operator and the idea of left join.
Apr 6, 2021 • 
Alexey Makhotkin

Share this post

User's avatar
Minimal Modeling
Many faces of left join
How to store either/or data in the database
Structural data types: Introduction to design space of physical representation.
Feb 23, 2021 • 
Alexey Makhotkin
2

Share this post

User's avatar
Minimal Modeling
How to store either/or data in the database
Game theory in database design
From a certain angle database modeling looks just like the game of poker.
Mar 30, 2021 • 
Alexey Makhotkin

Share this post

User's avatar
Minimal Modeling
Game theory in database design
Left joins, pt. II
Today I’d like to talk about the spectrum between narrow and wide tables, and how both kinds of tables are connected via left join.
Apr 13, 2021 • 
Alexey Makhotkin

Share this post

User's avatar
Minimal Modeling
Left joins, pt. II
Concatenability principle
Today I’d like to talk about the principle of concatenability in software architecture. The general idea behind it could be easily recognized…
Jan 26, 2021 • 
Alexey Makhotkin
1

Share this post

User's avatar
Minimal Modeling
Concatenability principle
© 2025 Alexey Makhotkin
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share