ora-00054 , alter system kill session 'id,serial#'
連線oracle執行drop table遇到了ora-00054的錯誤,提示資源正忙,需要提交transaction, 或者殺掉session,
可以透過下面的命令找到活躍的session,
select saddr,sid,serial#,paddr,username,machine,status from v$session where username is not null;
然後kill掉未提交的程式, sid是sid值,serial#是serial#值:
可以透過下面的命令找到活躍的session,
select saddr,sid,serial#,paddr,username,machine,status from v$session where username is not null;
然後kill掉未提交的程式, sid是sid值,serial#是serial#值:
alter system kill session 'sid,serial#' ;
或者可以透過toad的DBA => Session browser 來kill session
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/90618/viewspace-622439/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- alter system disconnect/kill session 'sid,serial#';Session
- alter system kill sessionSession
- alter system kill session 不成功Session
- Alter system kill session and ORA-00031: session marked for killSession
- ALTER SYSTEM KILL SESSION這麼沒力?(轉)Session
- "alter system kill session" can crash the instance if IO slaves usedSession
- 檢視鎖的資訊和alter system kill session的用法(小例子)Session
- alter session|system set eventsSession
- alter database和alter system和alter session的區別DatabaseSession
- ALTER SYSTEM DISCONNECT SESSION ClauseSession
- To display Locks and give the SID and Serial# of the Session to Kill_1020007.6Session
- 獲取本session的sid和serial#Session
- kill sessionSession
- v$session檢視中的sid和serial#研究Session
- 【kill session】Oracle 徹底 kill session(轉載)SessionOracle
- alter system events與alter system event的區別
- Alter system in OracleOracle
- [alter system dump學習1]alter system dump logfile
- alter system archive log current和alter system switch logfileHive
- awk -- kill sessionSession
- Oracle kill sessionOracleSession
- alter session setSession
- ALTER SYSTEM SWITCH LOGFILE ALTER SYSTEM ARCHIVELOG CURRENT 區別Hive
- alter system enable restricted session 及 startup restrict 限制使用者登入RESTSession
- mysql批次kill sessionMySqlSession
- Oracle kill session scriptOracleSession
- oracle_kill_sessionOracleSession
- KILL SESSION 相關Session
- Oracle中Kill sessionOracleSession
- Oracle批量kill sessionOracleSession
- ALTER SESSION SET EVENTSSession
- alter system switch logfile和alter system archive log current的區別Hive
- alter system switch logfile 和 alter system archive log current 的區別Hive
- alter system check datafiles 命令
- [轉]alter system switch logfile和alter system archive log current的區別Hive
- zt:alter system switch logfile與ALTER SYSTEM ARCHIVE LOG CURRENT的區別Hive
- 無腦批量kill sessionSession
- Oracle 徹底 kill sessionOracleSession