How to Force a Parallel Query to Run in Serial with the Parallel Execution Plan
(Doc ID 1114405.1)
Last updated on MARCH 12, 2021
Applies to:Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.
For some kind of problems it is helpful to run a parallel query in serial with the parallel execution plan.
As example when someone would like to trace a query with the event 10046 to compare the estimated rows against the actual rows. If the query runs in parallel then the the row numbers from all slave trace files needs to added to get the complete number of actual rows, this is sometimes a time consuming task.
This document shows an easy way to run a parallel query in serial mode.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!