User Tools

Site Tools


concurrentstatistics

This is an old revision of the document!


Concurrent Statistics

Utilises three components

  • Scheduler
  • Advanced Queueing
  • Resource Manager

Enabling

  • JOB_QUEUE_PROCESSES parameter must be set to at least 4
  • Resource Manager must be enabled
  • CONCURRENT preference of the DBMS_STATS.SET_GLOBAL_PREFS must be MANUAL, AUTOMATIC or ALL

Enable the Resource Manager by specifying a resource plan

SQL> ALTER SYSTEM SET RESOURCE_MANAGER_PLAN = 'DEFAULT_PLAN';

Set the JOB_QUEUE_PROCESSES parameter to a value at least twice the number of CPU cores

SQL> ALTER SYSTEM SET JOB_QUEUE_PROCESSES = 8;

Enable Concurrent Statistics by executing the SET_GLOBAL_PREFS procedure

BEGIN
  DBMS_STATS.SET_GLOBAL_PREFS('CONCURRENT','ALL');
END;
/
concurrentstatistics.1440491771.txt.gz · Last modified: 2025/03/08 22:23 (external edit)