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;

原文地址:https://www.cnblogs.com/527289276qq/p/8486744.html