My Oracle Support Banner

How To Implement And Test Enhanced Statement Queuing In 12c So Critical Statements Bypass The Parallel Statement Queue. (Doc ID 1518404.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.1 to 12.1.0.1 [Release 12.1]
Information in this document applies to any platform.
In 12.1 Oracle introduces a new resource plan directives called PARALLEL_STMT_CRITICAL which allows critical parallel statements to bypass the parallel statement queue.
There are two options for this directive.

FALSE - The consumer group is non-critical. This is the default value
BYPASS_QUEUE - The consumer group is marked critical, and parallel statements from this consumer group will bypass the parallel statement queue

When set to BYPASS_QUEUE, the parallel statements from the specified consumer group will be executed immediately.

Benefits
-- More flexibility in controlling critical work.
Requirements
-- For autodop to work I/O calibration statistics must be gathered.
-- Parallel_degree_policy needs to be set to AUTO or ADAPTIVE to enable statement queuing

Note: With this setting in place it is possible that the number of parallel execution servers may exceed the value of the PARALLEL_SERVERS_TARGET initialization parameter.

Goal

 The following example shows how to setup and confirm the use of BYPASS_QUEUE  for one consumer group and PARALLEL_QUEUE_TIMEOUT for another.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.