查看全表扫描及全索引扫描的数量

select name, value

  from v$sysstat

 where name in

       ('table scans (short tables)', 'table scans (long tables)',

        'index fast full scans (full)',

        'index fast full scans (rowid ranges)',

        'index fast full scans (direct read)', 'table scans (rowid ranges)',

        'table scans (cache partitions)', 'table scans (direct read)',

       'table scan blocks gotten')

你可能感兴趣的:(索引)