SlideShare a Scribd company logo
Oracle 12c Parallel Execution New Features
 Independent consultant
 Performance Troubleshooting
 In-house workshops
 Cost-Based Optimizer
 Performance By Design
 Oracle ACE Director
 Member of OakTable Network
This session explains the new PX operators
introduced with Oracle 12c so that you know
them next time you look at a 12c Parallel
Execution plan
More info / details?
On my blog (tag 12cR1, New Features, Parallel Execution)
You want more?
Ask for my Parallel Execution Masterclass seminar
 Three important aspects of Parallel Execution
 Major 12c Parallel Execution new features
 Some more new 12c Parallel Execution features
 Conclusion / Q & A
 Oracle Parallel Execution employs Producer
Consumer Model
 Parallel Execution plan organised in so called
Data Flow Operations (DFOs) and DFO Trees
 DFOs are organised in Parent child relations,
the child produces / sends data, the parent
consumes / receives data
 Requires two sets of Parallel Execution Server
Oracle 12c Parallel Execution New Features
Oracle 12c Parallel Execution New Features
Oracle 12c Parallel Execution New Features
Oracle 12c Parallel Execution New Features
 Producer Consumer model limitation: Only
one active pair of DFOs per DFO tree allowed
 Depending on plan shape and operations
multiple DFO pairs could be active
 To prevent this Oracle adds artificial blocking
operations that buffer data
=> Increased PGA / TEMP requirements
Oracle 12c Parallel Execution New Features
 Producer consumer model means redistribution of
data
 Depending on distribution methods used and
actual data pattern the data might not be
distributed evenly
 Data distribution skew means that some Parallel
Execution Servers need to process more data than
others
=> Not all PX Servers busy all the time
Oracle 12c Parallel Execution New Features
Oracle 12c Parallel Execution New Features
 Three important aspects of Parallel Execution
 Major 12c Parallel Execution new features
 Some more new 12c Parallel Execution features
 Conclusion / Q & A
 New distribution method HYBRID HASH
 Dynamic switch between BROADCAST and
HASH at execution time
 Can detect and address data distribution skew
(current implementation only limited scope)
 Only partially useful at present but is supposed
to be improved in upcoming releases
Oracle 12c Parallel Execution New Features
Oracle 12c Parallel Execution New Features
Oracle 12c Parallel Execution New Features
Oracle 12c Parallel Execution New Features
 New feature CONCURRENT UNION ALL –
executes multiple branches of a UNION ALL
concurrently
 Usually only relevant in case of serial branches
(or mixture of parallel and serial branches)
 New operator PX SELECTOR selects one of the
available slaves to execute serial branch
Oracle 12c Parallel Execution New Features
Oracle 12c Parallel Execution New Features
 New distribution method 1 SLAVE
 Supports new plan shapes potentially
collapsing multiple DFO trees into a single one
 Simplifies PX plan generation and avoids odd
side effects of having multiple DFO trees
 But can lead to more BUFFERED operations
Oracle 12c Parallel Execution New Features
Oracle 12c Parallel Execution New Features
 New feature parallel FILTER subquery
evaluation
 Again simplifies PX plan shape and allows
filter subquery evaluation in the Parallel
Execution Servers => can reduce runtime
 Prevents certain pre-12c plan shapes leading to
multiple DFO trees
 Not always used, 12c can fall back to old shape
Oracle 12c Parallel Execution New Features
Oracle 12c Parallel Execution New Features
 Three important aspects of Parallel Execution
 Major 12c Parallel Execution new features
 Some more new 12c Parallel Execution
features
 Conclusion / Q & A
 New feature replicated parallel full table scan –
instead of BROADCAST distribution
 Only applicable to parallel full table scans
eligible for BROADCAST distribution
 Instead of chunked parallel full table scan with
distribution afterwards each slave performs the
complete full scan directly
Oracle 12c Parallel Execution New Features
Oracle 12c Parallel Execution New Features
 New feature EXPRESSION EVALUATION
operator
 Can be used for scalar subqueries in the projection
of parallel plans (but also old shape possible
depending on SQL features used and combined)
 Good: Plan shape corresponds now to the “rules”
how to read with scalar subqueries
 Bad: Some odd behaviour at runtime spotted
Oracle 12c Parallel Execution New Features
Oracle 12c Parallel Execution New Features
 Many new PX operators and plan shapes
introduced with 12c
 Biggest change in this area since explicit
introduction of PX operators in Oracle 10g
 Not as revolutionary as other new features but
a good sign that Oracle continues innovation in
this area, too
Q & A

More Related Content

PDF
SQL Monitoring in Oracle Database 12c
PDF
GNW03: Stream Processing with Apache Kafka by Gwen Shapira
PPT
Four Ways to Improve ASP .NET Performance and Scalability
PPTX
SQL Server It Just Runs Faster
PPTX
Real-time streaming and data pipelines with Apache Kafka
PPTX
Next-Gen Decision Making in Under 2ms
PPTX
Being Ready for Apache Kafka - Apache: Big Data Europe 2015
PDF
Performance Tuning Oracle Weblogic Server 12c
SQL Monitoring in Oracle Database 12c
GNW03: Stream Processing with Apache Kafka by Gwen Shapira
Four Ways to Improve ASP .NET Performance and Scalability
SQL Server It Just Runs Faster
Real-time streaming and data pipelines with Apache Kafka
Next-Gen Decision Making in Under 2ms
Being Ready for Apache Kafka - Apache: Big Data Europe 2015
Performance Tuning Oracle Weblogic Server 12c

What's hot (20)

PDF
Building a High-Performance Database with Scala, Akka, and Spark
PDF
Migration From Oracle to PostgreSQL
PDF
Lightening Talk - PostgreSQL Worst Practices
PPTX
Zoo keeper in the wild
PDF
Presto Testing Tools: Benchto & Tempto (Presto Boston Meetup 10062015)
PDF
What is the State of my Kafka Streams Application? Unleashing Metrics. | Neil...
PDF
Application Scalability in Server Farms - NCache
PPT
Redis vs NCache - A detailed feture level comparison
PDF
PostgreSQL Enterprise Class Features and Capabilities
PDF
DatEngConf SF16 - Apache Kudu: Fast Analytics on Fast Data
PDF
Optimizing S3 Write-heavy Spark workloads
PPT
Introduction to Spark Streaming
PPTX
Akka 2.4 plus new commercial features in Typesafe Reactive Platform
PPTX
Building Scalable .NET Web Applications
PDF
Oracle to Postgres Migration - part 2
PPTX
Apache Flink Hands On
PPTX
Your Guide to Streaming - The Engineer's Perspective
PDF
ApacheCon 2020 - Flink SQL in 2020: Time to show off!
PDF
Scaling with sync_replication using Galera and EC2
PPTX
Scaling asp.net websites to millions of users
Building a High-Performance Database with Scala, Akka, and Spark
Migration From Oracle to PostgreSQL
Lightening Talk - PostgreSQL Worst Practices
Zoo keeper in the wild
Presto Testing Tools: Benchto & Tempto (Presto Boston Meetup 10062015)
What is the State of my Kafka Streams Application? Unleashing Metrics. | Neil...
Application Scalability in Server Farms - NCache
Redis vs NCache - A detailed feture level comparison
PostgreSQL Enterprise Class Features and Capabilities
DatEngConf SF16 - Apache Kudu: Fast Analytics on Fast Data
Optimizing S3 Write-heavy Spark workloads
Introduction to Spark Streaming
Akka 2.4 plus new commercial features in Typesafe Reactive Platform
Building Scalable .NET Web Applications
Oracle to Postgres Migration - part 2
Apache Flink Hands On
Your Guide to Streaming - The Engineer's Perspective
ApacheCon 2020 - Flink SQL in 2020: Time to show off!
Scaling with sync_replication using Galera and EC2
Scaling asp.net websites to millions of users
Ad

Viewers also liked (20)

PDF
Oracle 12c New Features For Better Performance
PDF
Oracle 12c New Features
PPTX
Analysing and troubleshooting Parallel Execution IT Tage 2015
PDF
Scaling Oracle 12c database performance with EMC XtremIO storage in a Databas...
PDF
RMAN in 12c: The Next Generation (PPT)
PPTX
Oracle 12c - Multitenant Feature
PDF
Oracle Database 12c: Новые возможности Oracle 12c
PPTX
How oracle 12c flexes its muscles against oracle 11g r2 final
PDF
The Top 12 Features new to Oracle 12c
PDF
Cosas que “probablemente” no sabes pero deberías de saber en Oracle 12c
PPTX
tow nodes Oracle 12c RAC on virtualbox
PPTX
Oracle Database 11g vs 12c
PDF
Oracle 12c New Features for Developers
PPTX
Oracle 12c SQL: Date Ranges
PPT
Java card technology
PPTX
Oracle 12c Automatic Dynamic Sampling
PDF
Oracle 12 Upgrade
PDF
Oracle 12c and its pluggable databases
PDF
How to Upgrade Hundreds or Thousands of Databases
PDF
Upgrade/Migrate to Oracle 12c: Live and Uncensored!
Oracle 12c New Features For Better Performance
Oracle 12c New Features
Analysing and troubleshooting Parallel Execution IT Tage 2015
Scaling Oracle 12c database performance with EMC XtremIO storage in a Databas...
RMAN in 12c: The Next Generation (PPT)
Oracle 12c - Multitenant Feature
Oracle Database 12c: Новые возможности Oracle 12c
How oracle 12c flexes its muscles against oracle 11g r2 final
The Top 12 Features new to Oracle 12c
Cosas que “probablemente” no sabes pero deberías de saber en Oracle 12c
tow nodes Oracle 12c RAC on virtualbox
Oracle Database 11g vs 12c
Oracle 12c New Features for Developers
Oracle 12c SQL: Date Ranges
Java card technology
Oracle 12c Automatic Dynamic Sampling
Oracle 12 Upgrade
Oracle 12c and its pluggable databases
How to Upgrade Hundreds or Thousands of Databases
Upgrade/Migrate to Oracle 12c: Live and Uncensored!
Ad

Similar to Oracle 12c Parallel Execution New Features (20)

PPTX
1 extreme performance - part i
PDF
Orca: A Modular Query Optimizer Architecture for Big Data
 
PPTX
4 extreme performance - part ii
PDF
Preactor 12 (Brochure)_What`s New (APS-system/Advanced Planning and Schedulin...
PDF
Oracle EBS Release 12: Tips for Patching
PDF
The two faces of sql parameter sniffing
PDF
KoprowskiT_SQLSat409_MaintenancePlansForBeginners
PDF
KoprowskiT_SQLSaturday409_MaintenancePlansForBeginners
PDF
Dynamics of Leading Legacy Databases
PPT
Dn D Custom 1
PPT
Dn D Custom 1
PDF
The Oracle RAC Family of Solutions - Presentation
PDF
Reduce planned database down time with Oracle technology
PPT
DB2 9 for z/OS - Business Value
PDF
sudoers: Benchmarking Hadoop with ALOJA
PDF
Trivadis TechEvent 2016 What's new in SQL Server 2016 in Analysis Services by...
PDF
OOW09 EBS Tech Essentials
PDF
Daniel Ridder ABAP Core Data Services No Pain, No Gain
PDF
Cool features 7.4
PPT
St Hilaire Ajax Start Odtug Nov 2009
1 extreme performance - part i
Orca: A Modular Query Optimizer Architecture for Big Data
 
4 extreme performance - part ii
Preactor 12 (Brochure)_What`s New (APS-system/Advanced Planning and Schedulin...
Oracle EBS Release 12: Tips for Patching
The two faces of sql parameter sniffing
KoprowskiT_SQLSat409_MaintenancePlansForBeginners
KoprowskiT_SQLSaturday409_MaintenancePlansForBeginners
Dynamics of Leading Legacy Databases
Dn D Custom 1
Dn D Custom 1
The Oracle RAC Family of Solutions - Presentation
Reduce planned database down time with Oracle technology
DB2 9 for z/OS - Business Value
sudoers: Benchmarking Hadoop with ALOJA
Trivadis TechEvent 2016 What's new in SQL Server 2016 in Analysis Services by...
OOW09 EBS Tech Essentials
Daniel Ridder ABAP Core Data Services No Pain, No Gain
Cool features 7.4
St Hilaire Ajax Start Odtug Nov 2009

Recently uploaded (20)

PPTX
Presentation for DGJV QMS (PQP)_12.03.2025.pptx
PPTX
Project and change Managment: short video sequences for IBA
PPTX
Non-Verbal-Communication .mh.pdf_110245_compressed.pptx
PPTX
Called To More (Final I Think) 08 03 2025.pptx
PDF
Swiggy’s Playbook: UX, Logistics & Monetization
PDF
Instagram's Product Secrets Unveiled with this PPT
PPTX
Learning-Plan-5-Policies-and-Practices.pptx
PPTX
What is Clause, definition and structure
PPTX
Relationship Management Presentation In Banking.pptx
PPTX
Cohort Study_PPT.group presentation_pdf.pptx
PPTX
INTERNATIONAL LABOUR ORAGNISATION PPT ON SOCIAL SCIENCE
PPTX
Emphasizing It's Not The End 08 06 2025.pptx
PPTX
Phrase, structure, use, definition in sentence
PPTX
IBA DISTRICT PIR PRESENTATION.POWERPOINT
PPTX
Understanding-Communication-Berlos-S-M-C-R-Model.pptx
PPTX
business communication final draftt.pptx
PPTX
worship songs, in any order, compilation
PPTX
Introduction to Effective Communication.pptx
PDF
Parts of Speech Prepositions Presentation in Colorful Cute Style_20250724_230...
PPTX
Caption Text about Social Media Post in Internet
Presentation for DGJV QMS (PQP)_12.03.2025.pptx
Project and change Managment: short video sequences for IBA
Non-Verbal-Communication .mh.pdf_110245_compressed.pptx
Called To More (Final I Think) 08 03 2025.pptx
Swiggy’s Playbook: UX, Logistics & Monetization
Instagram's Product Secrets Unveiled with this PPT
Learning-Plan-5-Policies-and-Practices.pptx
What is Clause, definition and structure
Relationship Management Presentation In Banking.pptx
Cohort Study_PPT.group presentation_pdf.pptx
INTERNATIONAL LABOUR ORAGNISATION PPT ON SOCIAL SCIENCE
Emphasizing It's Not The End 08 06 2025.pptx
Phrase, structure, use, definition in sentence
IBA DISTRICT PIR PRESENTATION.POWERPOINT
Understanding-Communication-Berlos-S-M-C-R-Model.pptx
business communication final draftt.pptx
worship songs, in any order, compilation
Introduction to Effective Communication.pptx
Parts of Speech Prepositions Presentation in Colorful Cute Style_20250724_230...
Caption Text about Social Media Post in Internet

Oracle 12c Parallel Execution New Features

  • 2.  Independent consultant  Performance Troubleshooting  In-house workshops  Cost-Based Optimizer  Performance By Design  Oracle ACE Director  Member of OakTable Network
  • 3. This session explains the new PX operators introduced with Oracle 12c so that you know them next time you look at a 12c Parallel Execution plan More info / details? On my blog (tag 12cR1, New Features, Parallel Execution) You want more? Ask for my Parallel Execution Masterclass seminar
  • 4.  Three important aspects of Parallel Execution  Major 12c Parallel Execution new features  Some more new 12c Parallel Execution features  Conclusion / Q & A
  • 5.  Oracle Parallel Execution employs Producer Consumer Model  Parallel Execution plan organised in so called Data Flow Operations (DFOs) and DFO Trees  DFOs are organised in Parent child relations, the child produces / sends data, the parent consumes / receives data  Requires two sets of Parallel Execution Server
  • 10.  Producer Consumer model limitation: Only one active pair of DFOs per DFO tree allowed  Depending on plan shape and operations multiple DFO pairs could be active  To prevent this Oracle adds artificial blocking operations that buffer data => Increased PGA / TEMP requirements
  • 12.  Producer consumer model means redistribution of data  Depending on distribution methods used and actual data pattern the data might not be distributed evenly  Data distribution skew means that some Parallel Execution Servers need to process more data than others => Not all PX Servers busy all the time
  • 15.  Three important aspects of Parallel Execution  Major 12c Parallel Execution new features  Some more new 12c Parallel Execution features  Conclusion / Q & A
  • 16.  New distribution method HYBRID HASH  Dynamic switch between BROADCAST and HASH at execution time  Can detect and address data distribution skew (current implementation only limited scope)  Only partially useful at present but is supposed to be improved in upcoming releases
  • 21.  New feature CONCURRENT UNION ALL – executes multiple branches of a UNION ALL concurrently  Usually only relevant in case of serial branches (or mixture of parallel and serial branches)  New operator PX SELECTOR selects one of the available slaves to execute serial branch
  • 24.  New distribution method 1 SLAVE  Supports new plan shapes potentially collapsing multiple DFO trees into a single one  Simplifies PX plan generation and avoids odd side effects of having multiple DFO trees  But can lead to more BUFFERED operations
  • 27.  New feature parallel FILTER subquery evaluation  Again simplifies PX plan shape and allows filter subquery evaluation in the Parallel Execution Servers => can reduce runtime  Prevents certain pre-12c plan shapes leading to multiple DFO trees  Not always used, 12c can fall back to old shape
  • 30.  Three important aspects of Parallel Execution  Major 12c Parallel Execution new features  Some more new 12c Parallel Execution features  Conclusion / Q & A
  • 31.  New feature replicated parallel full table scan – instead of BROADCAST distribution  Only applicable to parallel full table scans eligible for BROADCAST distribution  Instead of chunked parallel full table scan with distribution afterwards each slave performs the complete full scan directly
  • 34.  New feature EXPRESSION EVALUATION operator  Can be used for scalar subqueries in the projection of parallel plans (but also old shape possible depending on SQL features used and combined)  Good: Plan shape corresponds now to the “rules” how to read with scalar subqueries  Bad: Some odd behaviour at runtime spotted
  • 37.  Many new PX operators and plan shapes introduced with 12c  Biggest change in this area since explicit introduction of PX operators in Oracle 10g  Not as revolutionary as other new features but a good sign that Oracle continues innovation in this area, too
  • 38. Q & A