My Oracle Support Banner

Parallel Query Runs in Serial ON RAC when Using Default SERVICE_NAME (Doc ID 2603641.1)

Last updated on JULY 20, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Gen 2 Exadata Cloud at Customer - Version All Versions and later
Information in this document applies to any platform.

Symptoms

NOTE: In the images and/or the document content below, the user information and environment data used represents fictitious data from the Oracle sample or bulit-in schema(s), Public Documentation delivered with an Oracle database product or other training material.  Any similarity to actual environments, actual persons, living or dead, is purely coincidental and not intended in any manner.
  1. A query runs serially when connecting to the database using the default PDB SERVICE_NAME. It runs in parallel if connecting to the database using SID, or using a non-default SERVICE_NAME.
           Example: select /*+ parallel(8) full(t) */ count(1)  from  <table> t;
  2. The service can often be seen as active in the listener (lsnrctl status), but could also be absent.

  3. The PDB name is not listed in gv$active_services, although it may be listed in gv$services.

  4. A PX trace shows that there are 0 instances available to run in parallel.

Example PX trace file:

 

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.