A worked example, rendered from real sample data. Sign in to run the tool on your own input.
users
users_v2
id -> id
full_name <- first_name + last_name
email -> email_addressData Migration Simulation
══════════════════════════════════════════════════
Migration: users → users_v2
1. PRE-MIGRATION CHECKS:
✓ Source table exists: users
✓ Target table exists: users_v2
✓ Schema compatibility: OK
⚠ Row count mismatch: 0
2. COLUMN MAPPING:
id → id
name → full_name
email → email_address
3. DATA TRANSFORMATION:
Rows to migrate: 10,000
Batch size: 1000
Batches: 10
4. CONFLICT DETECTION:
Duplicate keys: 2
Null violations: 0
Type mismatches: 1
5. ESTIMATED TIME:
Duration: ~2.5 seconds
Throughput: 4000 rows/sec
6. ROLLBACK PLAN:
✓ Backup created: migration_backup_$(date)
• Can rollback in <10 seconds
Simulate database migration scenarios with data transformation and conflict detection. Part of the DevTools Surf developer suite. Browse more tools in the Developer Utilities collection.