oracle imp卡住了

使用imp导入数据,数据量不是很大,偶尔到一个表会一直卡住。
查看表空间,alert日志,都没有问题,最后发现是游标数不够用了。
查看当前使用的游标
select count(*) from v$open_cursor

查看设置的最大游标
show parameter open_cursors;

如果当前设置的最大游标数小于使用的游标数,造成游标被锁,卡住了

将游标设置大一些
alter system set open_cursors=1000 scope=both;

OK导入正常可

猜你喜欢

转载自gip666.iteye.com/blog/1844348
今日推荐