Here's a case I did recently. I noticed a table is slow when running full table scan, however it contains only 30K rows, and each row is not that big.
select segment_name, sum(bytes)/1024/1024 MB_Bytes, sum(blocks) blocks, sum(extents) extents from user_segments where segment_name = 'BAD_TABLE' group by segment_name; SEGMENT_NAME MB_BYTES BLOCKS EXTENTS ------------------- ---------- ---------- ---------- BAD_TABLE 220 28160 99OK, move it to another tablespace:
alter table BAD_TABLE move tablespace tb_another;Run that check again:
select segment_name, sum(bytes)/1024/1024 MB_Bytes, sum(blocks) blocks, sum(extents) extents from user_segments where segment_name = 'BAD_TABLE' group by segment_name; SEGMENT_NAME MB_BYTES BLOCKS EXTENTS ---------------------- ---------- ---------- ---------- BAD_TABLE 32 4096 47It's much smaller. Well, you may want to move it back to its original tablespace.