wengtf 发表于 2013-5-20 22:58:08

DROP USER cascade on source db ,deadlock + ora 6508

oracle 11.2.0.2 +ogg 11.1.1.1 on windows 2008 64bit

现象:
用户想删除源库某个需要复制的用户,库启用了ogg 的ddl复制,出现标题中的问题。Mon May 20 18:37:52 2013
ORA-00060: Deadlock detected. More info in file D:\APP\ORACLE\diag\rdbms\prod\prod\trace\prod_ora_6148.trc.
ORA-00060: Deadlock detected. More info in file D:\APP\ORACLE\diag\rdbms\prod\prod\trace\prod_ora_6148.trc.
ORA-00060: Deadlock detected. More info in file D:\APP\ORACLE\diag\rdbms\prod\prod\trace\prod_ora_6148.trc.
Mon May 20 18:38:02 2013
ORA-00060: Deadlock detected. More info in file D:\APP\ORACLE\diag\rdbms\prod\prod\trace\prod_ora_6148.trc.
尝试处理1:停止源库所有ogg进程,锁定需要被删除的用户,drop 失败,后台 alert 日志如上

欲尝试2:停止ogg ddl复制trigger:SQL>@ddl_disable.sql
求解释,删除普通的用户,ogg ddl对象为毛有tx锁?

trace 文件见附件。

wengtf 发表于 2013-5-23 12:34:43

只能把ddl复制的触发器禁用,问题解决。
页: [1]
查看完整版本: DROP USER cascade on source db ,deadlock + ora 6508