Home > Performance > Dbms_xplan by Granville Bonyata

Dbms_xplan by Granville Bonyata

I  am extremly busy these days and do not have any time to blog.That’s why my friend Granville Bonyate decided to write few small posts.Here is the first on in series.

 

Having worked with Oracle for many (twenty!) years, I sometimes find new features released several years ago that I didn’t catch at the time. Most recently, it would be that 10g added the display_cursor function to dbms_xplan. Most usefully, you can pass in the Sql-Id (from v$sql) and get the formatted execution plan for a SQL statement: Select * from table(dbms_xplan.display_cursor(‘d5dj7zctjwy1y’)); More information here:

http://docs.oracle.com/cd/B28359_01/appdev.111/b28419/d_xplan.htm

 

Very useful when you’re at a site that doesn’t have TOAD or OEM.

Granville Bonyata

 

About these ads
Categories: Performance
  1. February 1, 2012 at 11:10 am | #1

    Most usefull there are a-rows and a-time information. Awesome together with planviz http://tech.e2sn.com/apps/planviz

  1. No trackbacks yet.

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 41 other followers

%d bloggers like this: