ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Upgrade to UIM 8.51 or higher fails in Oracle environment


Article ID: 8603


Updated On:


DX Unified Infrastructure Management (Nimsoft / UIM)


When upgrading to UIM 8.51 or higher the installer stops at 10% with oracle_nis_server_create.sql on the screen.

When examining the uimserver_ia_install.log file the following error is observed:

2017-10-17 12:07:18,902 ERROR impl.UIMServerDBSchemaController:run:133 [Thread-28]  - NimException caught

(503) , java.sql.SQLException: ORA-54032: column to be renamed is used in a virtual column expression

ORA-06512: at line 93

: ORA-54032: column to be renamed is used in a virtual column expression

ORA-06512: at line 93


at com.nimsoft.nimdbprovider.base.util.NimDBScriptRunner.runDBScript(

at com.nimsoft.nimdbprovider.base.provider.NimDBProviderBase.runDBScript(

at com.nimsoft.nimdbprovider.base.provider.NimDBProviderBase.runDBScriptFile(

at com.nimsoft.install.uimserver.action.impl.UIMServerDBSchemaController.runScriptCommon(

at com.nimsoft.install.uimserver.action.impl.UIMServerDBSchemaController.configureNisServerCreate(

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.nimsoft.install.nimcommon.method.NimMethodCallback.invokeMethod(

at com.nimsoft.install.nimcommon.method.NimMethodCallback.invokeMethod(

at com.nimsoft.install.uimserver.action.impl.UIMServerDBSchemaController.doConfigure_dbScript(

at com.nimsoft.install.uimserver.action.impl.UIMServerDBSchemaController.doConfigure(


at Source)

Caused by: java.sql.SQLException: ORA-54032: column to be renamed is used in a virtual column expression

ORA-06512: at line 93



Oracle databases supports the use of virtual columns. If a virtual column has been created that references a regular database column, the Oracle database engine will prevent UIM from renaming the regular column and cause the database upgrade to fail.

Note that virtual columns are never created by UIM. UIM accesses your database via a vendor-agnostic database layer and therefore does not make use of RDBMS-specific features like virtual columns.

It is also possible that Virtual Columns may have been created by some other system or process. If you are not sure of the origin of the virtual columns in your database, contact your database administrator to investigate further and to have these removed before proceeding with your upgrade.


UIM 8.51Oracle Database


To find the extended stats on the object CM_GROUP




This will output the columns with the extended statistics in the SYS_OP_COMBINED_HASH() output.



Removing columns created by Extended Statistics requires using an in-build stored procedure, DBMS_STATS.DROP_EXTENDED_STATS(). Usage of this stored procedure is covered further in ORA-54033 and the Hidden Virtual Column Mystery, and looks similar to the following.  Be sure to replace with values from your own environment and USER_TAB_COLS output:



At this point, the installation should proceed beyond the point it was failing at previously


Additional Information

ORA-54033 and the Hidden Virtual Column Mystery