Verifying the database's readiness for upgrading

The db2ckupgrade command verifies that a database is ready for an upgrade, and the syntax for the command is as follows:db2ckupgrade <DatabaseName> -l <UpgradeCheckLog>

In the preceding command, the following applies:

  • UpgradeCheckLog: Identifies a log file to write a list of errors and warning messages generated for the scanned database.
  • DatabaseName: Identifies the name of the database intended to be upgraded:
db2ckupgrade SAMPLE -l upgradecheck.log

If you want to check the readiness of database SAMPLE to upgrade from Db2 10.5 to Db2 11.1, you can do so by executing the command db2ckupgrade as the instance owner of the database SAMPLE from the DB2DIR/bin directory, where DB2DIR is the ...

Get IBM Db2 11.1 Certification Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.