---
title: "ORA-00054错误"
author: "lasol"
date: "2011-11-07T10:56:45Z"
tags: []
categories: ["数据库"]
slug: "ora-00054"
draft: false
lastmod: "2011-11-07T10:56:45Z"
id: 1237310
url: "https://lasol.iteye.com/blog/1237310"
---

ORA-00054:resource busy and acquire with NOWAIT specified or timeout expired；

 

查找并解决死锁：

select object\_name,session\_id,oracle\_username from v$locked\_object t1, user\_objects t2 where t1.object\_id =t2.object\_id;

select sid, serial#, username, osuser , * from v$session where sid='374';

alter system kill session '374,38633';

 

如果还不行的话，尝试‘alter system disconnect session '374,38633' immediate;’