关闭

SDE 10 for DB2打sp1补丁需要注意的问题

标签: db2schemacommandibmsqlsystem
1098人阅读 评论(0) 收藏 举报
分类:

今天查看ArcSDE 10升级的网页,发现了以下的消息,对使用DB2的用户进行SDE升级的时候会有帮组的。

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.
Error: -1
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
0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:389523次
    • 积分:4972
    • 等级:
    • 排名:第5683名
    • 原创:120篇
    • 转载:2篇
    • 译文:0篇
    • 评论:35条
    最新评论