1.查看當前用戶下表中 記錄爲零的
select TABLE_NAME from user_tables t where t.NUM_ROWS = 0 or t.NUM_ROWS is null;
2.生成修改語句,將SEGMENT_CREATED 修改爲YES
select 'alter table '||table_name||' allocate extent;' from user_tables t where t.NUM_ROWS = 0 or t.NUM_ROWS is null;
執行生成的語句即可