also the alert log should have shown an entry for this error with atrace file .
please upload both
Main Topics
Browse All TopicsI don't have the SQL because the sql is very long. I got the ORA-12805 when I added one more column in the group by in a rollup function. I am asking DBA to look at this also. Please help. Thanks.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
ORA-12805: parallel query server died unexpectedly
Cause: The PMON process is cleaning up the process because a parallel
query server terminated unexpectedly.
Action: Check for operating system errors and retry the statement.
If this problem persists, contact customer support.
Are there any trace files generated? If yes, browse through them for a hint.
This will happen when PMON is cleaning up the process. Please verify your system for anomalies and reissue the statement. Trace files will give you more details. Reach out your DBA. Also try turning down parallelism.
See all links pointing to this error in:
http://www.mail-archive.co
Check your alert.log or udump-dir for any entries/traces.
What does the ORA-12805 error mean and how to solve it? (maybe)
http://www.dbmotive.com/or
http://forums11.itrc.hp.co
Some info:
Oracle Parallel Execution
http://www.saptechies.com/
Version 10.2.0.3. No hint. I changed the source table parallel degree to 6 instead of 48 and still see the same problem.
Shared pool allocation appears to throw ORA-04031 based on http://www.dbmotive.com/or
Parallel query can consume significant amounts of shared pool memory for communication purposes. Particularly in the case of high values for PARALLEL_MAX_SERVERS and PARALLEL_EXECUTION_MESSAGE
I ran into this error a couple of years ago, but I can't remember what we did to resolve it. I remember thinking from that error message that perhaps I should send flowers to the poor query server's family. The person who might remember will not be back until Tuesday. If you don't get an answer by then, I'll try and find out.
Seems like a Capacity related variable of some sort, and without supporting details I could ramble in many possible directions with this,
One angle might be that there are some OS/Kernel settings to bump up a bit, if you hit a level of parallelism where you ran out of semaphores or stack space or something causing some shared memory allocation problem.
One angle relates to ASMM, Automated Shared Memory Management, which can do all sorts of wonderful automatic sizing of large pool and shared pool for you, but it does it based on trend analysis, so the adjustment may come a bit later than it was needed.
Other than that, there is some simple low-tech stuff, compare what is your cumulative level of parallelism versus your number of CPUs. This gets more complicated now with multi-core CPUs, but you said something about 48 way parallel degree, and that is a fair number of CPU threads. If the system is dedicated to this particular query/app then fire away, but if this is supposed to be a low impact reporting function on an otherwise busy system, cut your parallelism back, try to limit yourself to "some reasonable percentage" of the available CPU resource.
http://www.orafaq.com/wiki
I spoke to the person that I thought might remember our resolution of this issue and, as she recalled, it also involved a large sql statement with multiple joins to large tables and was resolved by creating a function that bypassed a join with the largest of the tables involved. You might want to review your sql statement to see if something along those lines might work. Sorry I couldn't be a little more specific. Good luck!
awking00: my sql is very complex too. I have a work around now by taking out one useless column in the select. I have one more useless in the select that I can get rid of, so adding one more column in the future will not be a problem. Adding two more columns in the future will cause a problem.
DBA is working with Oracle support on this.
I like to leave this open for a few days if you guys don't mind.
Business Accounts
Answer for Membership
by: it-rexPosted on 2009-09-04 at 07:32:31ID: 25260060
your plaform?
your oracle version?
were you using any hints?