DBUpgrade troubleshooting
This command upgrades the databases. If you see an exception when you run this command, you can diagnose the problem by changing the log level to FINEST and running the command again.
Change the log level to FINEST as described in "Troubleshooting migration." After you run the command again, check the log file named DBUpgrade_timestamp.log. The file is found in deployment_manager_profile/logs/. If you cannot find the cause of the problem, you can provide the log to IBM support.
The command reads topology information from the properties file specified by the target.config.property.file property in the target_migration.properties file. The command reads database information from the WebSphere® Application Server data source, so if you find that the wrong database connection is used when you run DBUpgrade, check that the data source configuration is correct.
DB2 SQL error
Error executing SQL statement: DB2 SQL Error: SQLCODE=-964, SQLSTATE=57011, SQLERRMC=null
This
error occurs when the database transaction log is full. Increase the
size of the database transaction log and run the DBUpgrade command
again.Database customizations
ORA-01408: such column list already indexed
Read
the details in the DBUpgrade log and decide whether
you want to keep the current index or drop the current index and create
the IBM BPM index
later.Not enough disk space to run the command
If you have a large amount of data, you might run out of disk space when you run the DBUpgrade command. This command migrates the BLOB data in the LSW_BPD_INSTANCE_DATA, LSW_TASK_EXECUTION_CONTEXT table, and also reorganizes the database. It requires about twice as much disk space as the original database.
- DB2
- With a DB2 database, you might see errors similar to the following
error:
Make sure that there is enough free space on the database table space disk.Executing upgrade step: Enable LOGGED for LOB columns Error executing SQL statement: DB2 SQL Error: SQLCODE=-2216, SQLSTATE=01H52, SQLERRMC=-289, DRIVER=4.11.69 SQL statement that failed: call sysproc.admin_cmd('reorg table LSW_BPD_INSTANCE_DATA')
- Oracle
- With an Oracle database, you might see errors similar to the following
error:
If the table space was set to AUTOEXTEND size, make sure that there is enough free disk space on the table space disk. If the table space was not set to AUTOEXTEND size, you might need to resize or add another data file.java.sql.BatchUpdateException: ORA-01653: unable to extend table schema_name.LSW_TASK_EXECUTION_CONTEXT by 1024 in tablespace tablespace_name
Out-of-memory error
- To increase the heap size of DBUpgrade, you can configure it in
the install_root/util/dbUpgrade/upgrade.properties file.
For example:
Or, you can increase the heap size as follows when you create the Java process. For example:JVM_HEAPSIZE_OPTIONS="-Xms512m -Xmx2048m" $JAVA_EXE $JVM_HEAPSIZE_OPTIONS -cp $CLASSPATH
%JAVA_HOME%\bin\java" -Xms512m -Xmx2048m
- To decrease the number of records to be updated as a batch, configure
the value of database.batch.size in the install_root/util/dbUpgrade/upgrade.properties file.
For example:
Lowering the value requires less memory but also lowers performance.database.batch.size=1000
Low performance
- Open the install_root/util/dbUpgrade/upgrade.properties file.
- Increase the value of the worker.thread.size property. By default, the value is 4. The maximum number of threads depends on the processor number of the operating system that has IBM Business Process Manager installed.