Oracle配置说明

当Oracle安装完成后,为后续能够顺利得导出空表,特做一下配置(重点关注2.1)

1.1.查询空表
select table_name from user_tables where NUM_ROWS=0;

设置指定的表支持空表导出
alter table table1 allocate extend;


1.2.已有空表添加exp导出支持
select 'alter table '||table_name||' allocate extent;' from user_tables where num_rows=0;


2.1.新表自动支持exp导出
sqlplus:

show parameter deferred_segment_creation

alter system set deferred_segment_creation=false;

原文地址:https://www.cnblogs.com/oumi/p/10165814.html