Database Tuning (MOSC)

MOSC Banner

Troubleshotting Physical reads

edited May 25, 2010 9:35PM in Database Tuning (MOSC) 5 comments
  All,
I have a query that joins 7 tables and does an 'ORDER BY' at the end to enable getting top 25 results(part of our pagination). Most of the selections happen from a partitioned table. The 'ORDER BY' even though it is on a single column(number field) is causing severe physical reads. With out the sorting, the query takes just under 2 secs, but needs almost 5 mins with the ORDER BY clause. I have used the 'run_stats' by Tom, to know that the reason is the close to 200M of physical reads that are happenning. I tried a couple of options: altering the session to use an

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