1.先执行查询,查看是否有空表(存在表无数据)
select table_name from user_tables where num_rows = 0;
2.若存在空表,执行下述语句,拼装执行脚本
select 'ALTER TABLE '||table_name||' ALLOCATE EXTENT;' from user_tables where num_rows=0;
再执行将此查询语句结果 sql (eg:alter table teller allocate extent;)