Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 E-mail Us
 Oracle Articles
New Oracle Articles

 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog

 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Oracle Support

 SQL Tuning

 Oracle UNIX
 Oracle Linux
 Remote s
 Remote plans
 Application Server

 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S


 Consulting Staff
 Consulting Prices
 Help Wanted!


 Oracle Posters
 Oracle Books

 Oracle Scripts

Don Burleson Blog 







dbms_parallel_execute tips 

Oracle Database Tips by Donald BurlesonFebruary 11, 2015

Question:  What does the dbms_parallel_execute DBMS package do?  When would I use dbms_parallel_execute instead of parallel DML?  Is it superior to parallel DML?
Answer:  No, the dbms_parallel_execute package (new in 11g r2) is not as easy to use as vanilla parallel DML, IMHO, because Oracle parallel query (and DML) reliably divides a table into equal-sized chunks automatically.  The dbms_parallel_execute package is for special cases of incremental bulk updates in PL/SQL.

It also appears that dbms_parallel_execute is a way to implement parallel query in Oracle Standard Ediition (SE).  parallel-processing-with-standard-edition

"As of Oracle Database 11g Release 2,there is a feature that provides parallel processing capabilities in the StandardEdition. This feature is available through the DBMS_PARALLEL_EXECUTE package."

Dr. Tim Hall  notes you should use this package only where straight parallel DML is not appropriate, such as when you are using parallel DML inside PL/SQL loops (such as incrementally bulk updating data). This do-it-yourself parallelism in dbms_parallel_execute can be used to manually specify the degree of parallelism to fully saturate a dedicated server and he notes the following steps for using the dbms_parallel_execute package:
1:  Create a task

2:  Split the workload into chunks

   exec dbms_parallel_execute.create_chunks_by_rowid
   exec dbms_parallel_execute.create_chunks_by_number_col
   exec dbms_parallel_execute.create_chunks_by_sql
3:  Run the task

   exec dbms_parallel_execute.run_task
   User-defined framework
   Task control
4:  Check the task status

5:  Drop the task
You can view the status of dbms_parallel_execute with this dictionary SQL against the dba_parallel_execute_chunks view:
   task_name = 'test_task'
order by

Here is a sample invocation of dbms_parallel_execute:

query_chunk_generator := 'SELECT ... '; --the statement to chunk
mystmt := ...; --the statement to be executed





  parallel_level => 31);

Oracle Training from Don Burleson 

The best on site "Oracle training classes" are just a phone call away! You can get personalized Oracle training by Donald Burleson, right at your shop!

Oracle training



Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.



Oracle Training at Sea
oracle dba poster

Follow us on Twitter 
Oracle performance tuning software 
Oracle Linux poster