您的位置:首页 > 数据库 > Oracle

oracle导入导出dmp 解决exp-00011

2018-03-01 09:02 239 查看
解决办法,批量修改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;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐