• oracle之报错:ORA-00054: 资源正忙,要求指定 NOWAIT


    http://www.cnblogs.com/Ronger/archive/2011/12/19/2293509.html

    问题如下:

    SQL> conn scott/tiger@vm_database
    Connected to Oracle Database 11g Enterprise Edition Release 11.1.0.6.0
    Connected as scott

    。。。。。。

    SQL> drop table student2;

    drop table student2

    ORA-00054: 资源正忙, 但指定以 NOWAIT 方式获取资源, 或者超时失效
    =========================================================

    解决方法如下:

    =========================================================

    SQL> select session_id from v$locked_object;

    SESSION_ID
    ----------
    142

    SQL> SELECT sid, serial#, username, osuser FROM v$session where sid = 142;

    SID SERIAL# USERNAME OSUSER
    ---------- ---------- ------------------------------ ------------------------------
    142 38 SCOTT LILWEN

    SQL> ALTER SYSTEM KILL SESSION '142,38';

    System altered

  • 相关阅读:
    FJ省队集训DAY3 T1
    FJ省队集训DAY2 T2
    FJ省队集训DAY2 T1
    FJ省队集训DAY1 T1
    POJ 1225 Substrings
    BZOJ 2732 射箭
    Light OJ 1314 Names for Babies
    SPOJ220 Relevant Phrases of Annihilation
    POJ3683 Falsita
    ES6 常用语法
  • 原文地址:https://www.cnblogs.com/jcz1206/p/4538778.html
Copyright © 2020-2023  润新知