Tabloların Ne Zaman Analiz Edildiğinin Bulunması:
select owner,table_name,last_analyzed, global_stats
from dba_tables
where owner not in (‘SYS’,'SYSTEM’)
order by owner,table_name;
Partitioned Tabloların Ne Zaman Analiz Edildiğinin Bulunması:
select table_owner, table_name, partition_name, last_analyzed, global_stats
from dba_tab_partitions
where table_owner not in (‘SYS’,'SYSTEM’)
order by table_owner,table_name, partition_name;
Index'lerin Ne Zaman Analiz Edildiğinin Bulunması:
select owner, index_name, last_analyzed, global_stats
from dba_indexes
where owner not in (‘SYS’,'SYSTEM’)
order by owner, index_name;
Partitioned Index'lerin Ne Zaman Analiz Edildiğinin Bulunması:
select index_owner, index_name, partition_name, last_analyzed, global_stats
from dba_ind_partitions
where index_owner not in (‘SYS’,'SYSTEM’)
order by index_owner, index_name, partition_name;
Veritabanı için İstatistikler En Son Ne Zaman Toplandı?:
select dbms_stats.get_stats_history_availability from dual;
Hiç yorum yok:
Yorum Gönder