步骤一、查找出来的语句全部复制并执行
select 'analyze table '||table_name||' compute statistics;' from user_tables;
步骤二、查找出来的语句全部复制并执行
select 'alter table '||table_name||' allocate extent;' from user_tables where num_rows=0
步骤一、查找出来的语句全部复制并执行
select 'analyze table '||table_name||' compute statistics;' from user_tables;
步骤二、查找出来的语句全部复制并执行
select 'alter table '||table_name||' allocate extent;' from user_tables where num_rows=0