11gR2 : Query to check all objects statistics of a given SQL_ID
Hi ,
I look for a query to get CBO statistics of all query objects ( Tables , Index , partition ...) from a given SQL_ID.
Example :
SQL> @check_stats <SQL_ID>
OUTPUT something like :
Table 1 STALE
Table 2 STALE
Table 2 Partition 1 STALE
INDEX1 STALE
NB : oracle diagnostic and tuning pack license ares OK
Best regards.
GD.