This applies to upgrading ArcSDE from 10 to 10 SP1 ONLY. When you upgrade, a call to the stored procedure, SDE_RELEASE_PROC, is made to determine whether the ArcSDE schema, procedures, and functions need to be upgraded. At the end of the upgrade process, the SDE_RELEASE_PROC procedure itself is dropped and re-created. However, the DROP PROCEDURE fails as a result of locks. If a LOCKTIMEOUT has not been set, the process hangs. If LOCKTIMEOUT is set, the operation rolls back and the upgrade fails. In the error logs, you will see the following error message:
db_execute_ddlsql SQL Stmt: <DROP PROCEDURE SDE.sde_release_proc>
ERROR in creating system stored procedures.
DBMS error code: -454
SQL0454N The signature provided in the definition for routine "SDE.SDE_RELEASE_PROC" matches the signature of some other routine that already exists in the schema or for the type. LINE NUMBER=1. SQLSTATE =42723
Esri is working with IBM to resolve this problem under PMR(Problem Management Record) - 67192,756,000.
The current workaround is as follows:
1. Open a DB2 command window on the client machine from which you will run the Upgrade Geodatabase tool or script.
2. Connect to the ArcSDE geodatabase as the sde user.
db2 connect to <dbname> user sde using <sde_password>
3. Drop the sde_release_proc.
db2 "drop procedure sde_release_proc"
4. Once the stored procedure has been dropped, you can proceed with the upgrade