For Oracle support & training call (800) 766-1884
Free Oracle Tips

Home
Oracle Tips
Oracle Code Depot
Oracle Monitoring
Oracle Consulting
Oracle Training
Oracle News
Oracle Forum
Oracle Support





 

Free Oracle Tips

image

 
HTML Text

Free Oracle App Server Tips

image

 
HTML Text


Privacy Policy

Redneck

Dress Code

Oracle tuning

Oracle training

Oracle support

Remote Oracle


 

 
 

Oracle Tips by Burleson Consulting
 

Parallel Query background process (Pnnn)

The Oracle parallel query slave processes are used whenever Oracle invokes a parallel full-table scan. Oracle partitions the target table and then fires-off a UNIX process for each table partition. When not in use, the parallel query processes disappear from UNIX. Since most Oracle database that perform parallel query are doing full-table scans against very large tables, the Oracle DBA can watch the parallel query slaves appear in the UNIX environment. For example, if you are doing a query with parallel degree five, you can use the UNIX ps command to watch Oracle direct UNIX to create six parallel query slaves, with names like ora_p000_prodsid through ora_p005_prodsid.

The extra parallel query process is the parallel query coordinator, and this UNIX process will remain alive until all of the factotum process have completed their sub-table scans. Once all of the data has been retrieved, you can sometime observe Oracle invoke a disk sort in the TEMP tablespace. Whenever a parallel large-table full-table scan contains an order by or a group by on a large result set, the Oracle parallel query coordinator, will pass the unsorted result set to Oracle, where the racle DBA can watch the creation of temporary segments in the TEMP tablespace to sort the result set.


The above is an excerpt from the "Oracle9i UNIX Administration Handbook" by Oracle press, authored by Donald K. Burleson.

 

For more details and scripts, see my new book " Oracle Tuning: The Definitive Reference", over 900 pages of BC's favorite tuning tips & scripts. 

You can buy it direct from the publisher for 30%-off and get instant access to the code depot.

 

 

  
 

 
 
 
 
Oracle performance tuning software
 
 

 

 
 
 
Oracle performance Tuning 10g reference poster
 
 
 
Oracle training in Linux commands
 
Oracle training Excel
 
Oracle training & performance tuning books
 

 

Fast-Track Oracle Support
PO Box 511
Kittrell, NC 27544


Email BC:

 

Hit Counter