- SQL> select owner,segment_name,file_id,block_id,blocks 2 from dba_extents3 where wner='SCOTT' 4 and segment_name='T_28672'5 order by block_id6 / OWNER SEGMENT_NAME FILE_ID BLOCK_ID BLOCKS----- -------------------- ---------- ---------- ----------SCOTT T_28672 4 3729 8SCOTT T_28672 4 3737 8SCOTT T_28672 4 3745 8SCOTT T_28672 4 3753 8SCOTT T_28672 4 3761 8SCOTT T_28672 4 3769 8SCOTT T_28672 4 3777 8SCOTT T_28672 4 3785 8SCOTT T_28672 4 3793 8SCOTT T_28672 4 3801 8SCOTT T_28672 4 3809 8SCOTT T_28672 4 3817 8SCOTT T_28672 4 3825 8SCOTT T_28672 4 3833 8SCOTT T_28672 4 3841 8SCOTT T_28672 4 3849 8SCOTT T_28672 4 3977 128 17 rows selected. SQL>执行表压缩:SQL> alter table T_28672 move COMPRESS;Table altered.
复制代码 |