Understanding the Heart of a System
Introduction to Data Modeling: Why Is Information Stored in Separate Pieces? Uncovering Why It Has to Be That Way
🤔Why Learn This?
From the user’s point of view, the screen (UI) looks like everything. But the essence of a system lies in the mechanism behind it: how data is stored and how it is retrieved.
Once you understand data models, you can see how systems are designed, and you become able to build efficient, scalable process automation.
📦A System Is a “Box for Manipulating Data”
The screen (UI) is merely the “skin.” The essence of a system is the mechanism for registering and managing data.
The Four Basic Operations of a System (CRUD)
Create
Who writes it, when, and for what purpose
Retrieve
When and how it is read
Update
Under what conditions it is rewritten
Delete
Under what conditions it is deleted
🧩Why Do Engineers Want to Split Data Up?
What feels “unnatural” to non-engineers comes from the gap between our intuition about physical paper and the logic of digital data.
📄Intuition
It’s natural for customer information to be on a single sheet
“It’s natural for customer information to be gathered on a single sheet of paper”
⚙️Logic
Data should be normalized and managed in separate pieces
🧪Thought Experiment: Storing a Receipt in a Single Row
What would happen if we tried to store a receipt’s information in a single row of a single table?
Three Problems Arise
Infinite Columns
Every time the number of items grows, you have to add more columns. The table is never finished.
Data Redundancy
Every time you create another receipt, you have to enter the same store address again and again.
Unsearchable
Finding “the days apples were sold” becomes extremely difficult.
✅The Answer: Break It into Three
Exploded View
Layer 1: Shop
Fixed Info: the unchanging entity that things belong to
Benefit:
Even if the shop’s phone number changes, you only need to fix it in one place: the Shop table.
Layer 2: Sales
Transaction Header
Layer 3: Details
Items
How to Organize Data
“Customer information” is split into three because each piece has a different lifespan and granularity. Even if a contact person (Contact) changes roles, the company (Account) stays the same. Even when a deal (Opportunity) ends, the relationship with the company continues.
🔗Understanding One-to-Many Parent–Child Relationships
The core of a data model is the parent–child relationship. A relationship in which one parent has multiple children is called “one-to-many.”
Example of a Parent–Child Relationship
Parent: Shop
The unchanging entity that things belong to
Child: Sales × 3
Events that occur
ID (The Invisible Thread)
The invisible thread connecting parent and child is the ID.
Salesforce Has the Same Structure
Salesforce has three main objects: Account, Contact, and Opportunity. They follow the same parent–child (1:N) structure.
- •Even if a contact person (Contact) changes roles, the company (Account) stays the same.
- •Even when a deal (Opportunity) ends, the relationship with the company continues.
🔢Data Has Types: What Can and Can’t Be Calculated
❌ Bad Example (Human Input)
“1,000 yen”
↓
Text
✗ Cannot Multiply
✓ Good Example (System Input)
10000000
↓
Number
✓ Can Calculate
Main Data Types
Text
Number
Date
Boolean
Reference/ID
Three Traps IT Optimizers Often Fall Into
⚠️Trap 1: “Everything on One Sheet”
Columns grow endlessly, producing a table full of blanks.
Problem:
If you keep adding columns every time the number of items grows, the table becomes impossible to manage.
⚠️Trap 2: “Matching by Name”
“ABC Corporation” and “ABC Corp.” are treated as different things. Always link records by ID.
Solution:
Link data with a unique ID (unique key), not by name.
⚠️Trap 3: “Prioritizing Appearance”
You type “next Monday,” and date calculations fail. Always stick to the correct data type.
Solution:
Store data in a format (data type) that the system can recognize.
🎯Normalization = Decluttering Your Data
What engineers call “normalization” simply means eliminating duplication and making things efficient.
The Golden Rule
When in doubt, ask yourself this question:
“Who (or what) does this data belong to?”
Answering this question shows you which table the data should be stored in.
📚Summary: A Way of Thinking for Building Systems
1. System = CRUD
Picture how data moves behind the screen.
2. Split & Link
Split information into appropriate units and connect them with IDs.
3. Strict Types
Store data in types that computers can calculate with.
Once you can see this structure, no tool (Salesforce, kintone, Make) will intimidate you.
🚀Next Step: From Static Storage to Dynamic Processing
You’ve designed the data model (the box). Next: how do you move the data inside it?
Next topics:
- →Process Description: How to express business work as flowcharts
- →Programming Basics: The fundamentals of variables, loops, and branching
- →Breaking Free from Perfectionism: How to release step by step with MVP thinking
Want to Learn More About Data Modeling?
We can discuss how to design data models for your actual projects, with concrete examples.
Book a Free Consultation