ORA-00604 ORA-14452 ORA-20783

2024-05-06 00:32
文章标签 ora 00604 14452 20783

本文主要是介绍ORA-00604 ORA-14452 ORA-20783,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

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用户

删除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

这篇关于ORA-00604 ORA-14452 ORA-20783的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/963068

相关文章

【OceanBase诊断调优】—— 转储错误(错误代码 4138/ORA-01555)

当读事务很长时,租户进行转储会报 4138/ORA-01555 错误。本文介绍该错误的处理方法。 适用版本 OceanBase 数据库 V2.X 及以后的版本 问题现象 当读事务很长,租户进行转储时会出现以下错误。 Oracle 租户:ORA-01555:snapshot too oldMySQL 租户:ERROR 4138 ( HY000 ): Request to read t

ORA-00932: inconsistent datatypes: expected - got CLOB的分析解决方案

最近在项目中遇到查询数据时报ORA-00932: inconsistent datatypes: expected - got CLOB错误,这个错误很明显是由于查询时类型的不匹配造成的。 问题分析: 一、检查你的查询的实体的类型是否于数据库的保持一致,如果不一致,那么需要进行更改 二、你的表结构中存在大文本类型(NCLOB),但是你在查询的时候,使用的是string去查询,导致在查询的where

[Oracle] opiodr aborting process unknown ospid (***) as a result of ORA-609

今天线上数据库(版本11.2.0.1)无法建立新连接,但原有的连接不受影响,alert.log报如下错误: opiodr aborting process unknown ospid (22997) as a result of ORA-609 但在listener.log里却显示连接已建立 03-APR-2014 16:05:44 * (CONNECT_DATA=(SERVICE_NAME

ORACLE查询语句起别名时,报错ORA-00923:未找到要求的from关键字

-- 例如SELECT CITYCODE 归属地(地市),DISTRICT 归属地(县区)FROM DUAL; 从肉眼看几乎看不出来为什么会报错,如果SQL语句过长,只能一个一个去尝试替换。 这段SQL的错误在于括号不能要,如果你必须要括号,只能用双引号包起来。 ​-- 例如SELECT CITYCODE "归属地(地市)",DISTRICT "归属地(县区)"FROM D

ora-01033:oracle initialization or shutdown in progress;

使用用户名和密码登录oracle数据库的时候出现如下问题: ora-01033:oracle initialization or shutdown in progress; 解决办法,在命令行内依次执行如下命令:(在执行下述命令之前,可以先关闭数据库,重启电脑,然后看数据库是否可以正常连接。有的时候,重启真的可以解决问题,所以,可以一试。) 1.sqlplus /nolog 2.SQL>

ORA-09817: Write to audit file failed 的解决方法

使用oracle数据库的时候以sysdba连接数据库出现如下错误 连接 Oracle 出现 ORA-09817 错误: # sqlplus / as sysdba SQL*Plus: Release 10.2.0.4.0 - Production on Thu Mar 17 16:35:02 2011 Copyright (c) 1982, 2007, Oracle.  All Right

Oracle 序列使用时:ORA-08002: 序列 SEQ_WGB_TEST2.CURRVAL 尚未在此会话中定义

一、场景:Oracle中id经常使用序列自增,这就会导致新增时id的使用(A表的主键ID,新增时,同时要在B表中存入一个相同的当前ID) 二、使用:CURRVAL(当前值) NEXTVAL(下一个值): NEXTVAL可以单独使用在sql语句中;而CURRVAL在没有使用NEXTVAL的时候使用的话就会报错(尚未在此会话中定义)。 三、解决:在执行CURRVAL之前需要先执行NEXTVAL

ORA-28575: unable to open RPC connection to external procedure agent

环境: Oracle 11.2.0.4x64 RAC + AIX6.1版本+SDE for aix oracle11g版本10.0 x64 sde配置情况如下: 检查oracle和grid用户下的$ORACLE_HOME/hs/admin/extproc.ora文件均包含有如下: SET EXTPROC_DLLS=ANY 两个节点sde下的user_libraries都正常:

Oracle ORA-28547:connection to server failed,probable Oracle Net admin error

使用低版本oracle客户端文件连接12c版本数据库 下载高版本oracle client程序: instantclient-basic-windows.x64-12.2.0.1.0.zip 解压文件,修改navicat配置,指向新的客户端程序后可以正常连接: 工具—选项—OCI环境:

ora-12154 TNS 无法处理服务名

百度查了好多,网上也有好多,试了试都不行。 我这个最终解决方案是重新安装了一下。 首先,把电脑里有关的环境变量全部删除掉。 重新安装oracle、plsql。 安装时注意,安装路径不要有中文、括号之类的。 C:\Program Files\PLSQL Developer  这个路径可以。 C:\Program Files (x86)\PLSQL Developer 这个路径有问题。