Bonjour,
Tu peux savoir les options avec DBMS_STATS.GET_PARAM
1 2 3 4 5 6 7
|
select dbms_stats.get_param('cascade') from dual;
select dbms_stats.get_param('degree') from dual;
select dbms_stats.get_param('estimate_percent') from dual;
select dbms_stats.get_param('method_opt') from dual;
select dbms_stats.get_param('no_invalidate') from dual;
select dbms_stats.get_param('granularity') from dual; |
Tu peux avoir les info sur le schedule du job GATHER_STATS_JOB
1 2 3 4
|
select job_name, program_name, schedule_name, job_class,last_run_duration,last_start_date,enabled
from dba_scheduler_jobs
where job_name = 'GATHER_STATS_JOB'; |
et enfin
Verifier que STATISTICS_LEVEL soit TYPICAL ou ALL au niveau de init.ora sinon , le monitoring automatique ne se fera pas
sho parameter STATISTICS_LEVEL
Partager