User Tools

Site Tools


concurrentstatistics

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
concurrentstatistics [2015/08/25 08:36] z0hpvkconcurrentstatistics [2025/03/08 22:24] (current) – external edit 127.0.0.1
Line 19: Line 19:
 END; END;
 /</code> /</code>
 +Check it is enabled by issuing the following query\\
 +<code>SELECT DBMS_STATS.GET_PREFS('CONCURRENT') FROM DUAL;</code>
 +After starting a manual or automatic statistics gathering job, you can monitor it
 +<code>SELECT target, target_type, job_name, to_char(start_time, 'DD-MON-YYYY HH24:MI:SS') time_started
 +FROM dba_optstat_operation_tasks
 +WHERE status = 'IN PROGRESS'
 +AND opid = (SELECT max(id) FROM dba_optstat_operations
 +            WHERE operation = 'gather_schema_stats');</code>
  
  
concurrentstatistics.1440491771.txt.gz · Last modified: 2025/03/08 22:23 (external edit)