SQL Performance (MOSC)

MOSC Banner

SQL Query takes very long time to complete...Need Urgent Help

edited May 23, 2013 7:38AM in SQL Performance (MOSC) 4 commentsAnswered

Hi All,

Following is the SQL Query taking more than a day to complete. I believe there is something wrong in Query itself

The Query is intend to pull all user records with their only last/max/recent login details along with user who never logged in.  The Toad Plan attached below shows very high Cost for each steps involved on this query and i observed that it goes on Merge Join Cartesian product often although this explain plan does not show though.

Can somebody help me to analyze this query to find whether query needs to be re-written if so, what is wrong and what needs to be corrected or any other tuning with hints etc. can be done

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