Intermediate TrackBack
Intermediate
🚀
SCD Type 1: Overwrite
The simplest approach - update in place, no history.
Section 1 of 2: Type 1 Concept0%
Type 1 Concept
Study Material
SCD Type 1: Just Update It
The simplest approach - when data changes, simply overwrite the existing value. No history is preserved.
How It Works:
Customer changes email from john@old.com to john@new.com:
Before:
| customer_key | customer_id | city | |
|---|---|---|---|
| 1001 | CUST001 | john@old.com | NYC |
After Type 1 Update:
| customer_key | customer_id | city | |
|---|---|---|---|
| 1001 | CUST001 | john@new.com | NYC |
The old email is gone forever.
Characteristics:
- No history preserved whatsoever
- Single row per entity
- Smallest storage footprint
- Simplest to implement
- Reports always show current state
When to Use Type 1:
Correcting data entry errors
- Typo in name: "Jonh" → "John"
- Wrong phone format: "5550100" → "555-0100"
Non-critical attributes
- Middle name, nickname
- Preferred language, timezone
- Marketing preferences
Attributes that don't affect reporting
- Profile picture URL
- Communication preferences
- Internal notes
When old value was objectively wrong
- Invalid email that bounced
- Incorrect product weight
When NOT to Use Type 1:
Any attribute used in historical analysis
Audit/compliance requirements exist
Point-in-time reporting needed
Customer journey analysis required
Financial attributes (prices, costs)