My Oracle Support Banner

Query Executes With Automatic DOP While Degree Of Parallelism Is 1 As Value (Doc ID 1341407.1)

Last updated on FEBRUARY 20, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.2 to 11.2.0.2 [Release 11.2]
Information in this document applies to any platform.

Symptoms

While running a query with DOP 2, it runs with DOP 1.

For example:

create tablespace tbs_test datafile '<datafile_name>' size 2G autoextend on;
grant dba to bug identified by bug.
create table test2 tablespace tbs_test as select * from dba_extents;
alter session set parallel_degree_policy='AUTO';
explain plan for
select count(*) from test2 a, test2 b;
select * from table (dbms_xplan.display(NULL,NULL,'ADVANCED'));

 

Note
-----
- dynamic sampling used for this statement (level=2)
- automatic DOP: Computed Degree of Parallelism is 1.
Disclaimer:
In the images and/or the document content above, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product. Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


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