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

SQL> conn scott/[email protected]_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

SQL> conn scott/[email protected]_database
Connected to Oracle
Database 11g Enterprise Edition Release 11.1.0.6.0
Connected as
scott

SQL> drop table student2;

Table dropped

oracle之报错:ORA-00054: 资源正忙,要求指定 NOWAIT,布布扣,bubuko.com

时间: 2024-10-14 22:38:50

oracle之报错:ORA-00054: 资源正忙,要求指定 NOWAIT的相关文章

oracle修改表字段名时报错:ORA-00054:资源正忙,但指定以NOWAIT方式获取资源,或者超时失效的问题

打开sql plus select session_id from v$locked_object;查询出oracle锁定的会话ID SELECT sid, serial#, username, osuser FROM v$session where sid = 1; 查询出当前会话数的信息 ALTER SYSTEM KILL SESSION '200,2141'; 杀掉当前会话 注:'200,2141'是:SID和SERIAL字段进行拼接的

oracle错误处理之ORA-00054:资源正忙,要求指定NOWAIT

查询所有会话 select t2.username, t2.sid, t2.serial#, t2.logon_time from v$locked_object t1, v$session t2 where t1.session_id = t2.sid order by t2.logon_time; 强行结束会话 alter system kill session 'sid,serial';

Oracle中修改表名遇到“ORA-00054: 资源正忙, 但指定以 NOWAIT 方式获取资源, 或者超时失效”

Oracle中想修改表名: rename ASSETPORJECT to ASSETPROJECT; --结果提示:ORA-00054: 资源正忙, 但指定以 NOWAIT 方式获取资源, 或者超时失效. 看来有锁定该表的会话,于是,执行如下查询: SELECT sid, serial#, username, osuser FROM v$session where sid in(select session_id from v$locked_object); --kill掉相关的会话 ALTER

ORA-00054: 资源正忙, 但指定以 NOWAIT 方式获取资源, 或者超时失效ORA-06512: 在 "STG.SAP_SALES_ORDER", line 41

这是有执行的update或者insert造成你目前正在操作的表锁表了 SQL> select session_id from v$locked_object; SESSION_ID----------56 SQL> SELECT sid, serial#, username, osuser FROM v$session where sid = 142; SID SERIAL# USERNAME OSUSER---------- ---------- 56 2088 ghb fy SQL>

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

问题如下: SQL> conn scott/[email protected]_databaseConnected to Oracle Database 11g Enterprise Edition Release 11.1.0.6.0Connected as scott ...... SQL> drop table student2; drop table student2 ORA-00054: 资源正忙, 但指定以 NOWAIT 方式获取资源, 或者超时失效================

Oracle报 ORA-00054资源正忙的解决办法

来源于:http://www.cnblogs.com/loveLearning/p/3625544.html oracle之报错:ORA-00054: 资源正忙,要求指定 NOWAIT 问题如下: SQL> conn scott/[email protected]_databaseConnected to Oracle Database 11g Enterprise Edition Release 11.1.0.6.0Connected as scott ...... SQL> drop ta

expdp报错ora 39126

11.2.0.2,expdp报错: ORA-39126: Worker unexpected fatal error in KUPW$WORKER.GET_TABLE_DATA_OBJECTS []ORA-31642: the following SQL statement fails:BEGIN "SYS"."DBMS_CUBE_EXP".SCHEMA_CALLOUT(:1,0,1,'11.02.00.00.00'); END;ORA-06512: at &quo

oracle连接数据库报错:ORA-01034: ORACLE not available(Oracle 不存在),ORA-27101: shared memory realm does not exist

花一天半的时间解决客户端连接服务端的oracle数据库,无法连接问题.ORA-01034: ORACLE not available(Oracle 不存在),ORA-27101: shared memory realm does not   exist 分析:前几天还可以连接数据库,但是昨天开始,本地无缘无故的不能连接服务端数据库.网上很多人说造成这个问题的原因是异常关机 ,数据库没有在关机之前关闭.我公司人说在前几天确实有人重启过电脑,就当是这个原因吧,有时间一定要把真正原因找出来. 下面主要

oracle启动报错ORA-00845: MEMORY_TARGET not supported on this system解决办法

oracle启动报错ORA-00845: MEMORY_TARGET not supported on this system 原因可能:ORACLE MEMORY_TARGET参数设置超过了oracle服务器本身内存.或超过了现在服务器空闲内存(就是oracle启动时无法获取设置的内存) eg: oracle version:11gR2 OS version:RedHat 6.4企业版 服务器:虚拟机 分析步骤: 1.查看当前 MEMORY_TARGET参数的值为*.memory_target