ORACLE 11G中有個新特性,當表無數據時,不分配segment,以節省空間。
解決方法:
執行一下SQL語句查詢
select 'alter table '||table_name||' allocate extent;' from user_tables where num_rows=0
查詢結果如下
alter table TABLE_1 allocate extent; alter table TABLE_2 allocate extent;
上面的SQL語句執行就可以了。
ORACLE 11G中有個新特性,當表無數據時,不分配segment,以節省空間。
解決方法:
執行一下SQL語句查詢
select 'alter table '||table_name||' allocate extent;' from user_tables where num_rows=0
查詢結果如下
alter table TABLE_1 allocate extent; alter table TABLE_2 allocate extent;
上面的SQL語句執行就可以了。