oracle11gR2版本之后,新建表默认是不初始化空间的,exp导出的时候,这些空表是不导出的
批量生成为表初始化空间语句如下:
查询:select 'alter table '||table_name||' allocate extent;' from user_tables where num_rows=0 or num_rows is null
alter table 表名 allocate extent
select * from v$version
oracle11gR2版本之后,新建表默认是不初始化空间的,exp导出的时候,这些空表是不导出的
批量生成为表初始化空间语句如下:
查询:select 'alter table '||table_name||' allocate extent;' from user_tables where num_rows=0 or num_rows is null
alter table 表名 allocate extent
select * from v$version