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

在从ArcSDE10升级到10SP1的过程中,使用DB2的用户可能会遇到SDE_RELEASE_PROC过程删除失败的问题。这通常是因为锁超时设置不当导致操作挂起或回滚,进而使升级失败。错误日志中会显示匹配签名的其他例程已存在等信息。Esri正在与IBM合作解决此问题。目前的解决方案是在升级前手动删除SDE_RELEASE_PROC。

今天查看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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值