In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
The reason that the database object cannot DROP is that the object is being executed, and the other is that the resource is not released after the object execution.
The first case is to cancel or pause calls to objects that may be deleted.
In the second case, kill a session in oracle using the following statement:
SQL > conn / as sysdba
Connected.
View information about locked objects.
SQL > select * from v$locked_object
Execute the following SQL to find out the locked session and record the value of b.PIDreb.SPID
Select a.sidjijie a.serialrecording b where username is not null and a.paddr a.paddr.usernameauthora.statusdiary b.PIDreb. SPID from v$session aMagna vandalism process b where username is not null and a.paddr = b.addr
Delete locked object Session
Alter system kill session 'a.sidsid1 a. Serialkeeper'
Finally, kill the process with kill-9 b.spid in the unix environment and orakill sid spid in the windows environment
Ladies and gentlemen. Please add. Thank you.
You can also take a look at the introduction to database locks: http://blog.itpub.net/787018/viewspace-628986/
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
Declare cursor user_cur is select * from my_user; user_row my_user%rowtype; begin open us
© 2024 shulou.com SLNews company. All rights reserved.