數據庫版本
平台
背景
用戶建立了一個TRIGGER:
create or replace trigger ddl_deny
before create or alter or drop on database
declare
begin
insert into ddl_logs values(ora_dict_obj_owner
exception
when no_data_found then
null;
end;
目的大概就是記錄下所有的DDL操作
alter trigger ddl_deny disable
*
ERROR 位於第
ORA
drop trigger ddl_deny
*
ERROR 位於第
ORA
此時觸發器不能編譯過去
解決方法
select owner
bjects where object_name=
OWNER OBJECT_NAME OBJECT_TYPE STATUS
SYSTEM DDL_DENY TRIGGER INVALID
發現用戶權限沒有問題
Dump file /db
Oracle
With the Partitioning and Java options
PL/SQL Release
ORACLE_HOME = /db
System name: SunOS
Node name: db
Release:
Version: Generic_
Machine: sun
Instance name: ora
Redo thread mounted by this instance:
Oracle process number:
Unix process pid:
*** SESSION ID
***
ksedmp: internal or fatal error
ORA
Current SQL statement for this session:
alter trigger ddl_deny disable
calling call entry argument values in hex
location type point (? means dubious value)
ksedmp()+
FFBEADC
ksddoa()+
C
ksdpcg()+
ksdpec()+
ksfpec()+
kgesev()+
ksesec
kkttrex()+
kktexeevt()+
FFBEBAE
發現是內部嚴重錯誤
and ksppinm like
KSPPINM
_cleanup_rollback_entries
_distributed_lock_timeout
_distributed_recovery_connection_hold_time
_number_cached_attributes
_system_trig_enabled
發現
至此問題解決
From:http://tw.wingwit.com/Article/program/Oracle/201311/17665.html