drop user TEST cascade; ..."/>
您好,登錄后才能下訂單哦!
我執(zhí)行了一個(gè)impdp,但它沒有完成,因?yàn)楸砜臻g中沒有空間。
我停止了impdb,現(xiàn)在我需要?jiǎng)h除新建用戶及其下的對(duì)象:
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
我沒有在這個(gè)數(shù)據(jù)庫上找個(gè)此用戶的任何會(huì)話:
SQL> select * from v$session where username = 'TEST';
no rows selected
解決:
impdp要么仍在運(yùn)行,要么正在回滾導(dǎo)入本身。
您可以嘗試等待它手動(dòng)完成或終止它。找到它:
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;
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請(qǐng)聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。