oracle导入导出dmp 解决exp-00011


解决办法,批量修改Segment。
1先查找所有数据表为空的表
select table_name from user_tables where NUM_ROWS=0;

 

2若查不出数据,是因为 NUM_ROWS为空,需要analyze:
select 'ANALYZE TABLE ' || table_name || ' COMPUTE STATISTICS;' from user_tables;
然后将查询出来的语句批处理。

 


3, select 'alter table '||table_name||' allocate extent;' from user_tables where num_rows=0;

posted @ 2018-03-01 09:02  秋刀鱼No1  阅读(626)  评论(0编辑  收藏  举报