ORA-00604 ORA-14452 ORA-20783

简介: <div class="Blog_tit4 Blog_tit5" style="word-wrap:break-word; border-bottom-width:0px; padding:0px 0px 11px"> <div class="Blog_tit4 Blog_tit5" style="word-wrap:break-word; border-bottom-width:0px
SQL> drop user ogg cascade;
drop user ogg cascade
*
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-14452: attempt to create, alter or drop an index on temporary table already
in use

删除goldengate用户:
SQL> drop user goldengate cascade;  
drop user goldengate cascade 
*  
ERROR at line 1:  
ORA- 00604: error occurred at recursive SQL level 2  
ORA- 20782: GoldenGate DDL Replication Error: Code :ORA- 20782: Cannot DROP 
object used in GoldenGate replication while trigger is enabled. Consult  
GoldenGate documentation and/or call GoldenGate Technical Support if you wish  
to do so., error stack: ORA- 06512: at line 226  
ORA- 06512: at line 951

SQL> sqlplus / as sysdba;
SQL> @/cwogg/oggbj/ddl_disable.sql
或者
SQL> drop trigger ggs_ddl_trigger_before;
SQL> drop user goldengate cascade;
drop user goldengate cascade 
*  
ERROR at line 1:  
ORA- 00604: error occurred at recursive SQL level 1  
ORA- 14452: attempt to create, alter or drop an index on temporary table already in use 
SQL> conn goldengate/goldengate;
SQL> select table_name from tabs;

TABLE_NAME
------------------------------
GGS_TEMP_COLS
GGS_TEMP_UK
GGS_STICK
SQL> select sid,serial# from v$session where sid in (select sid  from v$lock where id1 = (select object_id  from user_objects where 

object_name = upper('GGS_STICK')));
       SID    SERIAL#
---------- ----------
        10         33
        14         21
        15         17
        16          7
        19          7
        20          7
        22         15
        23          9
        27          5
        38          5
       778         15

       SID    SERIAL#
---------- ----------
       783         13
       784          7
       785         31
       786          7
       787          5
       788          5
       789          5

已选择18行。
SQL> alter system kill session '10,33';
......
SQL> alter system kill session '789,5';
SQL> conn / as sysdba;
已连接。
SQL> drop user goldengate cascade;

用户已删除。

参考: http://hunt1574.blog.51cto.com/1390776/1031012

目录
相关文章
|
6月前
|
网络协议
ORA-12557
ORA-12557
|
Oracle 关系型数据库 数据库
ORA-00742 ORA-00312特殊恢复
ORA-00742 ORA-00312特殊恢复
357 0
|
关系型数据库 网络性能优化 容器
ora.qosmserver
ora.qosmserver 作用
3216 0
|
Oracle 关系型数据库
ora.chad
ora.chad 进程描述,和作用。
2905 0
|
SQL Oracle 关系型数据库
|
Oracle 关系型数据库
|
关系型数据库 Oracle 安全
|
SQL 数据库 关系型数据库