ORA-00054:resource busy and acquire with nowait specified解决方法
1、用dba权限的用户查看数据库都有哪些锁
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;
如:testuser 339 13545 2009-3-5 17:40:05
        知道被锁的用户testuser,sid为339,serial#为13545
2、根据sid查看具体的sql语句,如果sql不重要,可以kill
SELECT SQL_TEXT FROM V$SESSION A,V$SQLTEXT_WITH_NEWLINES B
       WHERE DECODE(A.SQL_HASH_VALUE, 0, PREV_HASH_VALUE, SQL_HASH_VALUE)=B.HASH_VALUE
       AND A.SID=&SID ORDER BY PIECE;
查出来的sql,如: BEGIN :ID := SYS.DBMS_TRANSACTION.LOCAL_TRANSACTION_ID; END;
3、kill该事务
       ALTER SYSTEM KILL SESSION '339,13545';
4、这样就可以执行其他的事务sql语句了
如给表加一列:     
       ALTER TABLE TEST ADD ORG_NAME VARCHAR2(50)
ORA-00054:resource busy and acquire with nowait specified解决方法的更多相关文章
- [ORACLE错误]ORA-00054:resource busy and acquire with nowait specified解决方法
		当某个数据库用户在数据库中插入.更新.删除一个表的数据,或者增加一个表的主键时或者表的索引时,常常会出现ora-00054:resource busy and acquire with nowait ... 
- 【错误整理】ora-00054:resource busy and acquire with nowait specified解决方法【转】
		当某个数据库用户在数据库中插入.更新.删除一个表的数据,或者增加一个表的主键时或者表的索引时,常常会出现ora-00054:resource busy and acquire with nowait ... 
- ORA-00054: resource busy and acquire with NOWAIT specified
		删除表时遇到 ORA-00054:资源正忙,要求指定NOWAIT 错误.以前在灾备中心遇到过. 资源被锁定了,没有办法删除. 报错日志:ORA-00054: resource busy and acq ... 
- oracle之 RA-00054: resource busy and acquire with NOWAIT specified or timeout expired
		1. truncate 表报 ORA-00054 ,标明有事务正在操作该表SQL> truncate table alldm.DM_XQKD_YUJING_D;truncate table al ... 
- ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
		开发说测试环境在删除表的时候,报了如下错误: SQL> drop table tke purge; drop table tke purge * ERROR at line 1: ORA-000 ... 
- 解决oracle数据库 ora-00054:resource busy and acquire with NOWAIT specified 错误
		解决oracle数据库 ora-00054:resource busy and acquire with NOWAIT specified 错误 本人在使用pl/sql developer 客户端调用 ... 
- 【Oracle】ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
		出现此错误的原因是因为事务等待造成的,找出等待的事务,kill即可. 下面是我当时遇到的错误: ---删除表t1时出现错误 SCOTT@GOOD> drop table t1; drop tab ... 
- Error: EBUSY: resource busy or locked, symlink "xxx" 的解决方法
		上面是报错信息. 解决方法:当我们在npm i 安装依赖的时候,会遇到这个Error: EBUSY: resource busy or locked, symlink....的问题.解决的 办法就是关 ... 
- Oracle数据库操作总是显示运行中无法成功,删除表时报错 resource busy and acquire with NOWAIT specified
		1.直接运行以下语句: select t2.username,t2.sid,t2.serial#,t2.logon_timefrom v$locked_object t1,v$session t2wh ... 
随机推荐
- Oracle---number数据类型
			NUMBER ( precision, scale) precision表示数字中的有效位;如果没有指定precision的话,Oracle将使用38作为精度. 如果scale大于零,表示数字精确 ... 
- 【30集iCore3_ADP出厂源代码(ARM部分)讲解视频】30-9底层驱动之USART
			视频简介:该视频介绍iCore3应用开发平台中RTC的基本配置方法以及在应用开发平台中RS-232, RS-485,RS-232的硬件实现方法. 源视频包下载地址:链接:http://pan.baid ... 
- Linux嵌入式时区修改
- C++ 智能指针一
			/* 智能指针shared_ptr */ #include <iostream> #include <string> #include <memory> //智能指 ... 
- (转) at&T语法格式 与 at&T - intel格式对比
			原地址 示例: movl (%ebp), %eax, 等同于Intel格式中的 ] ,AT&T中,源操作数在左,目的操作数在右.“l”是Longword,相当于Intel格式中的dword p ... 
- eclipse安装emmet插件
			http://www.cnblogs.com/matchless/archive/2013/04/10/3011973.html 
- [hive] hive 安装、配置
			一.hive安装 1.官网下载 1.2.2版本 http://apache.fayea.com/hive/hive-1.2.2/ 2. 解压,此处目录为 /opt/hadoop/hive-1.2.2 ... 
- [IR] Graph Compression
			Ref: [IR] Compression Ref: [IR] Link Analysis Planar Graph From: http://www.csie.ntnu.edu.tw/~u91029 ... 
- aws平台中为ec2实例添加双网卡
			亚马逊平台创建ec2实例时默认创建一个网卡primary网卡,主网卡是不能分离的. 在ec2服务控制台为ec2附加网卡. 平台资料中为正在使用的ec2添加网卡用到的操作系统是Amazon Linux ... 
- 【转】MYSQL-CLUSTER-7.5搭建数据库集群
			阅读目录 前言 mysql cluster中的几个概念解释 架构图及说明 下载mysql cluster 安装mysql cluster之前 安装配置管理节点 安装配置数据和mysql节点 测试 启动 ... 
