Database Tuning (MOSC)

MOSC Banner

slow SQL after upgrade from 10g to 11g

edited Sep 29, 2009 3:39AM in Database Tuning (MOSC) 9 commentsAnswered
We have had to change our upgrade date from 10g to 11g because we have some SQL that runs fine in 10g, but slowly in 11g.  Our application uses PeopleSoft Human Resources for its front end.  Our database servers are running on Solaris 10.  The 10g database is 10.2.0.2.  The 11g database is 11.1.0.7.  

Not all queries are slow, but a few of them are.  Those queries that are slow have correlated sub queries in them, some have UNION ALL in them, and one has CUBE in the group by clause.

I have found that some of the queries work with a hint /*+ rule */, but I have to wonder why are we bypassing the "better" 11g optimizer!  Also the rule hint doesn't fix all of them.   Also adding the hint into the PeopleSoft developer tool is a little difficult since it builds the queries for the developers.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center