Extract(Read) > Transform(Test&Apply) > Load(Learn) 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 :)



  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:

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

  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 | Reply

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: