The migration utility has been extensively tested on a variety of database and operating system platforms. Still, it is possible that a specific scenario may have been overlooked. This FAQ will try to answer some of the issues that you may encounter during the migration.
The utility needs approximately 1.5-2 times the size of the source database of free, local disk space. So if you have a database with 10 GB of data, ensure that you have at least 15 GBs of disk space available on the server on which you are running the utility.
The time taken will be completely dependent on hard-disk and network speeds and the current load on source and target databases. On a fast disk and reasonably fast network, we have been able to migrate data at the rate of 15-18GB/hour with validation.
Yes, but it is recommended you run all of the steps that are required in every run. The migration internally is broken into multiple steps:
The validate step will generally be the most time consuming and may be excluded, though it is recommended that you always run it. If you exclude this step, check the missing_fk.log and truncated.log files for errors that may have occurred during migration.
All the logs files are stored in the workDir.
There are two reasons why data may not migrate completely from the source to the target database.
How do I know whether the migration succeeded?
At the end of the migration, a summary.html file is generated, that will give a quick summary of the migration. The file contains an entry for each table that is migrated. The entry will contain row counts, count of rows that differ (the delta), and a link to the log file that contains the diff between the source and target. Below is an example of the summary.html:
DB MIGRATION REPORT
Fri Jan 09 11:19:59 PST 2009
| Source Database Name: | jdbc:mysql://10.61.130.171:3306/jive |
| Destination Database Name: | jdbc:postgresql://10.61.130.171:5432/jive |
| Migration started: | Fri Jan 09 11:19:59 PST 2009 |
| Migration ended: | Fri Jan 09 13:43:17 PST 2009 |
| Total number of tables: | 168 |
Summary
| TableName | SourceDB RowCount | DestinationDB RowCount | Delta RowCount | LogFile |
|---|---|---|---|---|
| jiveContainerAprvr | 1 | 1 | 0 | /tmp/db/bs_ver_25x/jiveContainerAprvr.diff.log |
| jiveCommunityProp | 57 | 56 | 1 | /tmp/db/bs_ver_25x/jiveCommunityProp.diff.log |