-- To check GATHER_STATS_JOB schedule / window set line 250 pages 1000 col repeat_interval format a70 col job_name format a20 col window_name dw.repeat_interval from dba_scheduler_jobs dsj.
-- To check GATHER_STATS_JOB schedule / window set line 250 pages 1000 col repeat_interval format a70 col job_name format a20 col window_name dw.repeat_interval from dba_scheduler_jobs dsj.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online from Scribd
-- To check GATHER_STATS_JOB schedule / window set line 250 pages 1000 col repeat_interval format a70 col job_name format a20 col window_name dw.repeat_interval from dba_scheduler_jobs dsj.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online from Scribd
col repeat_interval format a70 col job_name format a20 col window_name format a20 select dsj.JOB_NAME, dw.window_name,dw.REPEAT_INTERVAL from DBA_SCHEDULER_jobs dsj, dba_scheduler_wingroup_members dwgm,dba_scheduler_w indows dw where dsj.schedule_name=dwgm.window_group_name and dsj.JOB_NAME = 'GATHER_STATS_JOB' and dw.window_name=dwgm.window_name ;
-- To list analyzed table history
set line 250 pages 1000 col stats_update_time format a35 select table_name,stats_update_time , subpartition_name from user_tab_stats_history ut, dba_objects uo where ut.table_name=uo.object_name and uo.owner='DBADMIN' order by 2;