oracle 锁表 and 解锁
2017-02-13 09:09
141 查看
查询锁定表的相关
杀锁命令
SELECT l.session_id sid, s.serial#, l.locked_mode,l.oracle_username, l.os_user_name,s.machine, s.terminal, o.object_name, s.logon_time FROM v$locked_object l, all_objects o, v$session s WHERE l.object_id = o.object_id AND l.session_id = s.sid ORDER BY sid, s.serial# ;
杀锁命令
alter system kill session 'sid,serial#'
相关文章推荐
- SQL Injection and Oracle, Part One
- [work log] Errors when run sqlplus and svrmgrl after relink oracle server
- oracle and unix system monitor
- Installing PHP and the Oracle 10g Instant Client
- oracle procedure and webservice
- ORACLE SQL and SQL PLUS
- [导入][号外]Oracle to buy JBoss, Zend and Sleepycat?
- Using Clobs/Blobs with Oracle and Hibernate(Hibernate中使用Oracle的Clobs/Blobs类型)
- oracle查锁解锁
- Advanced Data Access with ADO.NET and Oracle
- oracle Export and Import 简介
- to create table if table do not exist -- to backup and restore table in oracle
- oracle解锁的SQL....
- Practice:Demonstrating Oracle AUDIT Concepts and Procedures
- oracle Export and Import 简介
- Using Clobs with Oracle and Hibernate
- Oracle FAQs and Tips
- MS bug "The connection pool" in Oracle 10g and the data sort according to specified filed on DataGrid control.
- Comparison of Oracle, MySQL and PostgreSQL DBMS
- 利用 Oracle 10g 技能学习 DB2 9.1 for Linux, UNIX and Windows