根据空表生成SQL语句 select 'alter table '||table_name||' allocate extent;' from user_tables where num_rows=0 然后复制查询结果执行即可