concurrentstatistics
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| concurrentstatistics [2015/08/25 08:28] – created z0hpvk | concurrentstatistics [2025/03/08 22:24] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| * Advanced Queueing | * Advanced Queueing | ||
| * Resource Manager | * Resource Manager | ||
| - | |||
| - | The maximum number of concurrent jobs depends on the value of JOB_QUEUE_PROCESSES parameter.\\ | ||
| ==== Enabling ==== | ==== Enabling ==== | ||
| Line 11: | 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.1440491335.txt.gz · Last modified: (external edit)
