我执行了一个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进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。