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

 
 Home
 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
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

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

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 

 
 

Parallel query error ORA-12801

Oracle Database Tips by Donald Burleson

 

Question:  When running Oracle parallel query, I get a sporadic error like this:

 

ERROR: ORACLE execute error: ORA-12801: error signaled in parallel query server P017
ORA-01652: unable to extend temp segment by
314 in tablespace TEMP.


I understand the ORA-01652 as being caused by running out of space, but I do not understand the ORA-12801.
 

Answer:  Wow, P017, that's a lot of parallel query processes.  Just make sure that you have enough processors to support this load.  I've seen this ORA-12801 error pop-up intermittently for no apparent reason, usually when the server is especially active, and it's always the second message (in your case, ORA-01652).

 

MOSC note 184416.1 has details on diagnosing the ORA-12801 error.  It notes that the ORA-12801 is somewhat generic and that you should look for more details in your alert.log or in trace files in the USER_DUMP_DEST or BACKGROUND_DUMP_DEST
location.  You can
set event 10397 to get more details:

ORA-12801, 00000, "error signaled in parallel query server %s"

Cause: A parallel query server reached an exception condition.

Action: Check the following error message for the cause, and consult your error manual for the appropriate action.

*Comment: This error can be turned off with event 10397, in which case the server's actual error is signaled instead.

In any case, the central question is why your parallel query was performing a sort, resulting in the ORA-01652 error

OPQ generally sorts as the final step, after the paralel processes have returned the result set to the parallel query coordinator (usually P00).

The symptom solution, of course, is to increase the size of your TEMP tablespace, or better still, increase your sort_area_size.  If this job is running batch, you can do this with an alter session command, as this this case, to one gig:

alter session set sort_area_size = 1,048,576,000

 
If you like Oracle tuning, see the book "Oracle Tuning: The Definitive Reference", with 950 pages of tuning tips and scripts. 

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


 

 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

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.