您好,登錄后才能下訂單哦!
我執行了一個impdp,但它沒有完成,因為表空間中沒有空間。
我停止了impdb,現在我需要刪除新建用戶及其下的對象:
SQL> drop user TEST cascade;
drop user TGK_EXOR_IFIL_008_432 cascade
*
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
我沒有在這個數據庫上找個此用戶的任何會話:
SQL> select * from v$session where username = 'TEST';
no rows selected
解決:
impdp要么仍在運行,要么正在回滾導入本身。
您可以嘗試等待它手動完成或終止它。找到它:
select o.object_name as "object_name",
s.sid as "sid",
s.serial# as "serial#",
s.username as "username",
sq.sql_fulltext as "sql_fulltext"
from v$locked_object l, dba_objects o, v$session s,
v$process p, v$sql sq
where l.object_id = o.object_id
and l.session_id = s.sid and s.paddr = p.addr
and s.sql_address = sq.address;
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。