oracle table statistics last analyzed

Solutions on MaxInterview for oracle table statistics last analyzed by the best coders in the world

showing results for - "oracle table statistics last analyzed"
Stefano
01 Jan 2017
1SELECT ST.TABLE_NAME, ST.PARTITION_NAME, HIGH_VALUE, ST.NUM_ROWS, 
2	   ST.BLOCKS, ST.LAST_ANALYZED
3FROM DBA_TAB_STATISTICS ST
4LEFT JOIN DBA_TAB_PARTITIONS PAR
5ON PAR.TABLE_NAME = ST.TABLE_NAME AND PAR.PARTITION_NAME = ST.PARTITION_NAME
6WHERE ST.OWNER = 'MY_OWNER'
7  AND ST.TABLE_NAME = 'MY_TABLE'
8ORDER BY PARTITION_NAME;