H.Tonguç Yılmaz – Oracle Blog

February 20, 2009

How to find the parallelism degree of a query that has been finished?(on 10.2)

Filed under: Oracle How To — H.Tonguç Yılmaz @ 6:50 am

This was the question of one of my colleague DBAs yesterday. Since he was on 10.2 and had AWR as a cost option we worked on DBA_HIST_ACTIVE_SESS_HISTORY first. After a while I decided to have the opinions of the experts at oracle-l and there Deepak Sharma advised a query based on DBA_HIST_SQLSTAT and Niall Litchfield advised DBMS_XPLAN.

So there is a guy who ran his query and insists that it took too long since he couldn’t get the DOP he requested that morning and he thinks this is DBA’s fault since he configured the Resource Manager not appropriate. As a result my DBA colleague wants to show that he really got the DOP what he requested for that query and he needs an accurate method to prove this on 10.2.

For the details of the discussion, it is still ongoing here and if you have any comments please let me know :)

2 Comments »

  1. The setting of parallel_adaptive_multi_user could also affect the DOP used.

    You should be able to see whether a parallel operation was downgraded via v$sysstat. More info here:
    http://oracledoug.com/px7.html

    Comment by dombrooks — February 20, 2009 @ 9:36 am |

  2. How was my parallel query executed last night? – AWR! – http://dioncho.wordpress.com/2009/02/20/how-was-my-parallel-query-executed-last-night-awr/

    Comment by H.Tonguç Yılmaz — February 20, 2009 @ 3:37 pm |


RSS feed for comments on this post. TrackBack URI

Leave a comment

You must be logged in to post a comment.

Blog at WordPress.com.