摘要: --1.数据库备份 以test实例 用户ora_test expdp system/xxxx@test directory=dump_dir dumpfile=20181023_test.dmp schemas=ora_test;--2 停监听 lsnrctl stop--3杀外部连接 ps -ef 阅读全文
posted @ 2018-10-23 20:59 dayoff 阅读(607) 评论(0) 推荐(0) 编辑
摘要: --1.查看被锁的表 select session_t.sid, session_t.serial#, lock_object.oracle_username, lock_object.os_user_name, all_object.object_name, session_t.username, 阅读全文
posted @ 2018-10-23 20:35 dayoff 阅读(1621) 评论(0) 推荐(0) 编辑
摘要: --1.根据存储过程名查相应的sid,serial# select session_t.*, ddl_locks.* from v$session session_t, dba_ddl_locks ddl_locks where session_t.sid = ddl_locks.session_i 阅读全文
posted @ 2018-10-23 20:28 dayoff 阅读(778) 评论(0) 推荐(0) 编辑