Hi,
DB Version: 12c R1
Using below we can identify the STALE_PERCENT for a specific table.
SELECT DBMS_STATS.GET_PREFS('STALE_PERCENT', 'XXSCHEMAXX', 'XXTABLEXX') -> eg: 3, table level
Using below we can identify the default STALE_PERCENT value in DB level.
SELECT DBMS_STATS.GET_PREFS('STALE_PERCENT') FROM dual; -> eg: 10 default , database level
Is there anyway to list all the tables having STALE_PERCENT value is different than the default value set in DB level.
Thanks in advance.
-Veera