Errors such as Ora-00054:resource busy and acquire with nowait specified are often present when a database user inserts, updates, deletes data from a table in a database, or increases the primary key of a table or the index of a table.The main reason is that a transaction is executing (or the transaction has been locked), all of which cause the execution to be unsuccessful.1. Users with DBA authority to see which locks are in the databaseSelect T2.use
1, UPDATE nowait Apply the following scenario: Query a data and open database transactions to it. If the current data for the query is not locked, the result is returned correctly and the current data is locked, if the current data for the query is already locked in the transaction. But return exception information: Prompt data has been locked. SQL statement:
SQL code :
Copy Code code as follows:
SELECT *
From Hold_mc_site_product_pic p
Tags: Oracle errorThe following error occurs when inserting, updating, deleting data from a table, or adding a table's primary key or index to a database user:Ora-00054:resource busy and acquire with NOWAIT specified or timeout expiredThis is because a transaction is in progress or the transaction has been locked, resulting in an unsuccessful1) with DBA Authority user queries What locks are in the databaseSelect T2.username,t2.sid,t2.serial#,t2.logon_
Http://www.cnblogs.com/Ronger/archive/2011/12/19/2293509.htmlThe problem is as follows: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 Student2ORA-00054: The resource is busy, but the resource is specified as NOWAIT, or the timeout expires=========================================================Here's how to fix it:==============
Direct query.SELECT * from A1 t;The data taken at this time is the pre-run data, and other users do not get the data modification at the same time.Real-time update queriesSELECT * FROM A1 t for update;For update updates, other managers can do the data operation with update, which limits the number of users, fewer connected users, and can be used when threads are not occupied.Wait 3 seconds to updateSELECT * FROM A1 t for update wait 3;In the case of the lock table, update the data of other user
Label:Oracle Action Table "Resource is busy, need to specify nowait" method of unlockingProblem:When executing drop table table_name, the prompt "resource is busy, you need to specify NoWait"PL/SQL is not responding due to a problem that can only be queried for setting the primary key and cannot be modified and deleted, so the table is locked for tb_projectAnalysis:Indicates that the TABLE_NAME table is loc
This is because the table with the truncate operation is still executing, and no commit is finished, at which point you can query V$locked_object to get which user's transaction is operating this table.
Experimental SimulationFirst, use the Scott user to enter the database and do the following for the existing table T1:sql> Delete from T1 where name like '%c% ';23308 rows deleted.Note that a commit was not executed here.Then, in another session, the database is performed as a DBA, operating:sql>
In Oracle, When you modify the table name, you encounter ORA-00054: the resource is busy, but specify to get the resource in NOWAIT mode, or timeout is invalid. Solve Oracle 11g to modify the table name:
Rename ASSETPORJECT to ASSETPROJECT;
Result tip: ORA-00054: the resource is busy, but specifies to get the resource in NOWAIT mode, or timeout is invalid. It seems that there is a session to lock the tabl
Ora-00054: Resource busy and acquire with Nowait specified Solution
ArticleCategory:Database
Http://space.itpub.net/12778571/viewspace-561543
WhenDatabaseWhen you insert, update, or delete data from a table in a database, or add a primary key or an index to a table, a ora-00054 is often present: resource busy and acquire with Nowait specified errors.
It is mainly because a transaction is being execu
Oracle11g error ORA-00054: the resource is busy, require the specified NOWAIT how to solve ?, Oracle11gnowait
Oracle11g a table can only query, add, delete, modify are not allowed, can not drop, and truncate all fail will report the error ORA-00054: the resource is busy, require the specified NOWAIT
The procedure is as follows:
View the locked table and the session that causes the lock:
Select B. owner, B
1, UPDATE nowait Apply the following scenario: Query a data and open database transactions to it. If the current data for the query is not locked, the result is returned correctly and the current data is locked, if the current data for the query is already locked in the transaction. But return exception information: Prompt data has been locked. SQL statement:
SQL code:
SELECT *
From Hold_mc_site_product_pic pic
WHERE pic.id = 730127 for UPDATE
Tags: alt res Use object client causes ECIF serial processResolve Oracle Database Ora-00054:resource busy and acquire with NOWAIT specified errorWhen I use the PL/SQL Developer client call stored procedure to find a halfway card machine and then force termination of PL/SQL developer, Oracle has been locked out of the lock-related error.It was analyzed that a pessimistic blockade was caused when a DDL statement was manipulated on a table when the store
Errors such as Ora-00054:resource busy and acquire with nowait specified often occur when a database user inserts, updates, deletes a table's data in a database, or adds a table's primary key or a table's index.
The main reason is that a transaction is being executed (or the transaction has been locked), all resulting in an unsuccessful execution.
1, users with DBA authority to see what locks the database has
Select T2.username,t2.sid,t2.ser
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 Student2ORA-00054: The resource is busy, but the resource is specified as NOWAIT, or the timeout expires=========================================================Here's how to fix it:=========================================================Sql> select session_id from V$locked_object;
Address oracle Database ora-00054: resource busy and acquire with NOWAIT specified error I found a midway card and then forcibly terminated pl/SQL developer after using the pl/SQL developer client to call the Stored Procedure for operations, oracle has always encountered lock-related errors. According to the analysis of www.2cto.com, when the stored procedure is called, DDL statements are performed on the table, resulting in a pessimistic blocking. Or
When a database user inserts, updates, or deletes data from a table in a database, or adds a table's primary key, or the table's index, a ora-00054 often occurs: resource busy and acquire with Nowait specified errors.
It is mainly because a transaction is being executed (or the transaction has been locked), which leads to execution failure.
1. Users with DBA permissions can view database locks
Select t2.username, t2.sid, t2.serial #, t2.logon _ tim
When a database user inserts, updates, or deletes data from a table in a database, or adds a table's primary key, or the table's index, a ora-00054 often occurs: resource busy and acquire with Nowait specified errors. It is mainly because a transaction is being executed (or the transaction has been locked), which leads to execution failure. 1. Users with DBA permission can view the database locks select t2.username, t2.sid, t2.serial #, t2.logon _ tim
Java small rookie one, remember the interviewer once asked me a question, is that you use SQL statements, in addition to write and delete changes, but also wrote what other orders did not, at that time really do not remember, so I intend to record, before the interview look, be prepared.Previously used MySQL, not how to use Oracle, the company's project use of Oracle, think it is MySQL convenient ah, haha hahaBefore the question, and now check the solution, presumably this is the1. Wait for anot
directly.DEBUG_ETH_UP = "no"EOF
2. Set the Host NameMy host name isWww.test.com
cat > /etc/HOSTNAME
Chmod 644/etc/Host Name
3. Set the host file
Cat>/etc/hosts 127.0.0.1 localhostRegistry.000028 serv1.test.com serv1Too many bytes 28 test.com
EOF
Chmod 644/etc/hosts
4. Set DNS
Cat>/etc/resolv. conf Nameserver 202.106
Nginx Learning note Port-based virtual host hostname-based virtual host root, alias, index configuration experimental Environment:centos test node ip:172.16.3.101 Port-based virtual host: vim/etc/ nginx/nginx.conf# to the inside of the http{} add the following content server{#server define a virtual host listen8080;#
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.