Parallel Migration: Reconcile Old & New Systems
In this article
Running a parallel migration means operating your old and new systems side-by-side for a period, feeding both with the same data, and comparing outputs. This approach lets you validate the new system's accuracy and reliability before fully cutting over, reducing the risk of data loss or business disruption. This guide walks you through setting up, executing, and reconciling a parallel migration, covering what you need, step-by-step actions, common pitfalls, and how to handle issues.
What You'll Need
- Access to both the old (legacy) and new systems, including administrative or data-export privileges.
- A clear understanding of the data schema in both systems—fields, types, relationships, and business rules.
- A defined scope: which data entities (e.g., customers, orders, products) and which time period (e.g., last 30 days) will be included in the parallel run.
- A reconciliation tool or method—spreadsheets, SQL queries, or dedicated data comparison software.
- A rollback plan in case the new system fails validation.
- Stakeholder buy-in and a communication plan for reporting progress and issues.
Step-by-Step
- Define the scope and success criteria. Decide which data and processes will run in parallel. Set measurable success criteria, such as "100% of records match on key fields" or "transaction totals differ by less than 0.1%." Agree on a parallel run duration (e.g., two weeks or one full business cycle).
- Map the data fields. Create a detailed mapping document that lists every field in the old system and its corresponding field in the new system. Note any transformations (e.g., date format changes, code conversions) and default values for missing data.
- Prepare the new system. Configure the new system with the same business rules, validation logic, and reference data (e.g., tax rates, shipping zones) as the old system. Load initial static data (customers, products) if needed, but do not start processing transactions yet.
- Set up a data capture mechanism. Ensure you can capture all relevant transactions from the old system as they occur. This might be via database triggers, log files, or periodic exports. Also, capture the corresponding data in the new system (e.g., via API logs or database queries).
- Run a pilot test. Before the full parallel run, execute a small-scale test with a limited data set (e.g., one day's transactions). This validates your reconciliation process and catches obvious issues early.
- Start the parallel run. Begin feeding the same transactions into both systems. This could be done by having the new system subscribe to the same message queue or by manually entering duplicate transactions. Ensure both systems are running in production-like conditions.
- Reconcile data daily. At the end of each day (or defined interval), compare the data between the two systems. Use your reconciliation tool to identify discrepancies: missing records, extra records, or field-level mismatches. Document every discrepancy with a severity level.
- Investigate and resolve discrepancies. For each discrepancy, trace the root cause. It could be a data mapping issue, a bug in the new system, or a timing difference. Fix the issue in the new system, and re-run the reconciliation for the affected records.
- Monitor performance and user feedback. Beyond data accuracy, observe the new system's performance (response times, error rates) and gather feedback from users who are working with both systems. Address any usability or functionality gaps.
- Sign off and cut over. Once the reconciliation shows consistent results over the agreed period, and success criteria are met, get formal sign-off from stakeholders. Then, schedule the cutover: stop the old system, redirect all traffic to the new system, and perform a final data migration if needed.
- Post-cutover monitoring. Continue to monitor the new system closely for at least a week after cutover. Keep the old system available in read-only mode for a while to allow for rollback if critical issues arise.
Common Mistakes
- Incomplete field mapping: Missing fields or incorrect transformations lead to systematic discrepancies that are hard to trace.
- Ignoring timing differences: If systems process transactions at different times (e.g., batch vs. real-time), comparisons can show false mismatches. Use a consistent timestamp or compare at the end of the day.
- Not including all data types: Focusing only on core transactions and ignoring configuration data, user permissions, or audit logs can leave gaps.
- Lack of a formal sign-off process: Without clear criteria, the parallel run can drag on or be accepted prematurely.
- Reconciliation only at the summary level: Comparing totals can hide individual record errors. Always reconcile at the record level.
Tips
- Automate reconciliation where possible. Write scripts or use data comparison tools to reduce manual effort and errors.
- Use a dedicated environment for the new system during the parallel run to avoid interfering with any existing operations.
- Document everything: Keep a log of all discrepancies, their resolution, and any changes made to the new system. This becomes your audit trail.
- Communicate regularly with business stakeholders about progress and any issues that could affect the go-live date.
- Plan for data cleanup: The parallel run may generate duplicate or test data in the new system. Plan to purge or archive this before cutover.
Troubleshooting
When the parallel run does not go as planned, follow these steps:
- Discrepancy rates are high: Revisit your field mapping and transformation rules. Often, a simple mapping error (e.g., date format) causes widespread mismatches. Correct the mapping and re-run the comparison.
- Data is missing in the new system: Check if the data ingestion pipeline is failing silently. Verify that API calls or database writes are successful and that no records are being dropped due to validation errors.
- Data appears in the new system but not in the old: This could be due to test data or duplicate entries. Check for duplicate prevention mechanisms and ensure that only production transactions are being fed.
- Reconciliation tool is too slow: If comparing millions of records takes too long, optimize your queries, use indexing, or sample the data for initial checks before doing full comparisons.
- Users report errors in the new system: Prioritize fixing functional bugs over data discrepancies. A system that works incorrectly will produce bad data anyway. Pause the parallel run if necessary to fix critical bugs.
- Business wants to cut over early: Resist the pressure unless success criteria are met. If they insist, document the risks and get a formal risk acceptance from stakeholders.
Frequently Asked Questions
How long should a parallel migration run?
It depends on your business cycle. Run it long enough to cover all transaction types and peak periods, typically 2-4 weeks or at least one full month-end close.
What if the new system has a different data model?
That's common. Your field mapping must account for structural differences. You may need to create views or intermediate tables to reconcile data at a common level.
Can we skip reconciliation for some data?
Only for data that is not critical or that will be re-entered later. But it's safer to reconcile everything that will be used in production.
How do we handle data that only exists in the old system?
Decide whether it needs to be migrated. If yes, include it in the migration plan and reconcile it. If not, archive it and document the decision.
What if the new system produces different but correct results?
That can happen if business rules changed. Document the difference and get approval from business owners that the new result is acceptable.
Is it possible to run parallel migration without manual data entry?
Yes, if you can configure the new system to receive the same data feed as the old system. This is ideal but requires technical integration.