concurrentstatistics
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
concurrentstatistics [2015/08/25 08:29] – [Concurrent Statistics] z0hpvk | concurrentstatistics [2025/03/08 22:24] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 9: | Line 9: | ||
* Resource Manager must be enabled | * Resource Manager must be enabled | ||
* CONCURRENT preference of the DBMS_STATS.SET_GLOBAL_PREFS must be MANUAL, AUTOMATIC or ALL | * CONCURRENT preference of the DBMS_STATS.SET_GLOBAL_PREFS must be MANUAL, AUTOMATIC or ALL | ||
+ | |||
+ | Enable the Resource Manager by specifying a resource plan\\ | ||
+ | < | ||
+ | Set the JOB_QUEUE_PROCESSES parameter to a value at least twice the number of CPU cores\\ | ||
+ | < | ||
+ | Enable Concurrent Statistics by executing the SET_GLOBAL_PREFS procedure\\ | ||
+ | < | ||
+ | DBMS_STATS.SET_GLOBAL_PREFS(' | ||
+ | END; | ||
+ | /</ | ||
+ | Check it is enabled by issuing the following query\\ | ||
+ | < | ||
+ | After starting a manual or automatic statistics gathering job, you can monitor it | ||
+ | < | ||
+ | FROM dba_optstat_operation_tasks | ||
+ | WHERE status = 'IN PROGRESS' | ||
+ | AND opid = (SELECT max(id) FROM dba_optstat_operations | ||
+ | WHERE operation = ' | ||
concurrentstatistics.1440491348.txt.gz · Last modified: 2025/03/08 22:23 (external edit)