Oracle的Ora-00031 錯誤
1、在刪除使用者時不能順利進行,出現ora-14452錯誤
SQL> drop user ggtransfer2 cascade;
drop user ggtransfer2 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
2、查詢該使用者的物件所在的id
select object_id from user_objects where object_name=upper('GGS_STICK');
3、根據id找到sid,
select * from v$lock where id1=123623
548
4、根據sid找到sid及其serial#
select * from v$session where sid=548
548,1
5、檢視該sid的SQL語句
SELECT sql_text
FROM v$sqltext a
WHERE a.hash_value = (SELECT sql_hash_value
FROM v$session b
WHERE b.SID = '&sid')
ORDER BY piece ASC
1、 如果SQL語句不影響系統執行,kill
SQL> alter system kill session '548,1';
alter system kill session '548,1'
*
ERROR at line 1:
ORA-00031: session marked for kill
6、該SQL語句session不能正常kill,查詢在OS系統的程式
select spid, osuser, s.program
from v$session s,v$process p
where s.paddr=p.addr and s.sid=548
1 29321 oraoms oracle@CQXXDBS01 (Q002)
2、 在OS系統kill程式
Kill -9 29321
ORA-00031: session marked for kill
Cause: The session specified in an ALTER SYSTEM KILL SESSION command cannot be killed immediately (because it is rolling back or blocked on a network operation), but it has been marked for kill. This means it will be killed as soon as possible after its current uninterruptible operation is done.
Action: No action is required for the session to be killed, but further executions of the ALTER SYSTEM KILL SESSION command on this session may cause the session to be killed sooner
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/12778571/viewspace-713274/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- kill session遇到ORA-00031錯誤Session
- [Oracle報錯處理]ORA-00031: session marked for killOracleSession
- ORACLE 錯誤Oracle
- oracle的1788錯誤碼Oracle
- ORACLE 異常錯誤 錯誤號大全Oracle
- Oracle 錯誤收集Oracle
- ORACLE錯誤大全Oracle
- EF Oracle:錯誤 175Oracle
- oracle 常見錯誤Oracle
- oracle錯誤小結Oracle
- Oracle安裝錯誤Oracle
- Oracle ASM 配置錯誤OracleASM
- 遇到 ORACLE 錯誤 6550Oracle
- Oracle ORA 錯誤大全Oracle
- oracle 10.2.0.4 的emca配置錯誤Oracle
- ORACLE EBS中OAF遮蔽的錯誤Oracle
- oracle 報大小寫錯誤Oracle
- Oracle nvarchar2錯誤Oracle
- Oracle錯誤號檢索Oracle
- ORACLE tsm 備份錯誤Oracle
- perl連線Oracle錯誤Oracle
- ORACLE 錯誤一覽表Oracle
- oracle錯誤一覽(轉)Oracle
- Oracle ORA-錯誤表Oracle
- Oracle9i的1467錯誤Oracle
- ORA-01653錯誤是Oracle資料庫中常見的錯誤Oracle資料庫
- oracle EBS啟動無錯誤,訪問網頁500錯誤Oracle網頁
- Oracle異常錯誤處理Oracle
- ORACLE 異常錯誤處理Oracle
- oracle dataguard 配置錯誤彙總Oracle
- Oracle之Rman常見錯誤Oracle
- Oracle錯誤處理思路(一)Oracle
- oracle 11g 錯誤收集Oracle
- 快速顯示oracle錯誤號的含義Oracle
- 錯誤檔名稱下的Oracle選擇Oracle
- 在windows下檢視oracle錯誤的方法WindowsOracle
- Oracle 10.2.0.3的Ora-1461錯誤Oracle
- oracle 資料庫鎖表處理 ORA-00031Oracle資料庫