刪除GoldenGate使用者
刪除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
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
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26194851/viewspace-753545/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- goldengate 刪除複製程式步驟Go
- 刪除使用者全部物件,不用刪除使用者(摘)物件
- oracle 刪除使用者Oracle
- oracle級聯刪除使用者,刪除表空間Oracle
- Oracle 禁止刪除使用者Oracle
- ubuntu 建立和刪除使用者Ubuntu
- linux刪除使用者命令Linux
- linux 新增使用者及刪除使用者Linux
- Linux下完全刪除使用者Linux
- 使用者建立授權及刪除
- SVN 儲存使用者資訊刪除
- Oracle資料庫使用者刪除Oracle資料庫
- 如何刪除資料庫使用者?資料庫
- Oracle使用者的建立和刪除Oracle
- MySQL新增使用者、刪除使用者與授權MySql
- Linux使用者的建立和刪除Linux
- 刪除使用者下的所有的objectObject
- Linux下建立和刪除使用者Linux
- linux批量建立和刪除使用者Linux
- win10 刪除管理員使用者方法 win10如何刪除管理員Win10
- oracle建立/刪除表空間、建立/刪除使用者並賦予許可權Oracle
- win10使用者頭像怎麼刪除 win10電腦使用者頭像如何刪除Win10
- c盤使用者裡的東西可以刪除麼 c盤使用者資料夾可以刪除嗎
- 刪除使用者及使用者下的所有資料
- 【收藏】Linux新增/刪除使用者和使用者組Linux
- Linux基礎命令---刪除使用者userdelLinux
- oracle批量刪除使用者物件新篇章Oracle物件
- Linux 建立修改刪除使用者和組Linux
- 刪除一個使用者下所有的物件物件
- Linux精講——增加和刪除使用者Linux
- MySQL新建使用者,授權,刪除使用者,修改密碼MySql密碼
- Win10怎樣刪除使用者配置檔案 win10系統刪除使用者配置的圖文教程Win10
- win10使用者頭像怎麼刪除_win10賬戶頭像刪除方法Win10
- win10 無法刪除當前使用者要怎麼解決_win10系統刪除賬戶怎麼刪除不了Win10
- Django搭建個人部落格:使用者的刪除Django
- 刪除當前資料庫連線使用者資料庫
- mysql 新增、刪除使用者和許可權分配MySql
- [golang]-golang呼叫gitlab api增加刪除使用者GolangGitlabAPI