Run the stagingcheck utility
To check potential unique index key confliction between the production-ready data to the production database:
To run the stagingcheck utility to ensure there is no unique index key conflict:
- Set the PATH environment variables.
- Change to the directory to which you want log files written.
- Issue the following command:
(Windows)
stagingcheck -scope _unique_index_ -sourcedb staging_database_name -destdb production_database_name(AIX)
(i5/OS)(Solaris)(Linux). stagingcheck.sh -scope _unique_index_ -sourcedb staging_database_name -destdb production_database_name -sourcedb_user user -destdb_user user
(Windows)
stagingcheck -scope _unique_index_ -sourcedb staging_database_name -destdb production_database_name -dbtype oracle -sourcedb_user user -sourcedb_passwd password -destdb_user user -destdb_passwd password
(AIX)
(Solaris). stagingcheck.sh -scope _unique_index_ -sourcedb staging_database_name -destdb production_database_name dbtype oracle -sourcedb_user user -sourcedb_passwd password -destdb_user user -destdb_passwd password
- Examine the stagingcheck_yyyy.mm.dd_hh.mm.ss.zzz.log file.
Related concepts
Related reference