Intermediate TrackBack
Intermediate
🚀
Full Load vs Incremental Load
Choosing the right loading strategy for your use case.
Section 1 of 3: Loading Strategies Overview0%
Loading Strategies Overview
Study Material
Two Fundamental Data Loading Approaches:
Full Load (Full Refresh) 🔄
Completely replace target data with source data every time.
Process:
- 1Truncate/delete target table
- 2Load ALL records from source
- 3Rebuild indexes and statistics
- 4Done!
Characteristics:
- Simple logic
- Guaranteed data consistency
- No change tracking required
- Can be slow for large datasets
- High resource consumption
When to Use Full Load:
Small tables (< 1M rows, or fast enough)
No change tracking in source system
Complete consistency required
Weekly/monthly refresh is acceptable
Initial load of new tables
Dimension tables (usually small)
Incremental Load (Delta Load) âš¡
Only process records that are new or changed since last load.
Process:
- 1Identify new/changed records (using watermark)
- 2Extract only delta records
- 3Apply changes to target (insert/update/delete)
- 4Update watermark
- 5Done!
Characteristics:
- Complex logic
- Much faster for large datasets
- Requires change tracking mechanism
- Lower resource consumption
- Risk of missing changes if not careful
When to Use Incremental Load:
Large tables (millions/billions of rows)
Frequent refresh needed (hourly, daily)
Source has reliable change tracking
Near real-time requirements
Production workloads with SLAs
Fact tables (usually large)