Com as informações passadas, criei a consulta abaixo:
select s.owner, s.segment_name, s.ttl_bytes, s.ttl_blks,
t.tablespace_name, t.status, t.num_rows, t.blocks, t.last_analyzed
from
(
select owner, segment_name, ttl_bytes, ttl_blks
from
(
select owner, segment_name, sum(bytes) ttl_bytes, sum(blocks) ttl_blks
from dba_segments
group by owner, segment_name
order by 3 desc, 4 desc
)
where rownum <= 10
) s,
dba_tables t
where s.owner = t.owner
and s.segment_name = t.table_name
order by s.owner, s.segment_name, s.ttl_bytes
No resultado conteúdo dos campos s.ttl_blks e t.blocks, não deveriam ser os mesmos? Executei a consulta antes e depois de atualizar as estatísticas.
A tabela CT2600 retornou na consulta com:
TTL_BYTES = 1048576000
TTL_BLKS = 128000
BLOCKS = 127414
Banco 10g (10.2.0.5) ambiente Windows.
Obrigado.
Airton