1、11G中有个新特性,当表无数据时,不分配segment,以节省空间;
select table_name from user_tables where NUM_ROWS=0;
select 'alter table '||table_name||' allocate extent;' from user_tables where num_rows=0 ;
1、11G中有个新特性,当表无数据时,不分配segment,以节省空间;
select table_name from user_tables where NUM_ROWS=0;
select 'alter table '||table_name||' allocate extent;' from user_tables where num_rows=0 ;