If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > IBM Data Studio 2.2 Visual Explain?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-02-10, 11:30
rockycj rockycj is offline
Registered User
 
Join Date: Feb 2007
Posts: 73
IBM Data Studio 2.2 Visual Explain?

I'm using DB2 9.1 LUW and recently started using IBM Data Studio 2.2 tool. In the Control Center tool, I used Visual Explain by Selected > Explain Query.

Is there a way to run this in IBM Data Studio 2.2? Could someone explain this to me or another option similar? Then the step to do this?

Thank you.

CC
Reply With Quote
  #2 (permalink)  
Old 06-02-10, 15:01
schintala schintala is offline
Registered User
 
Join Date: Apr 2005
Location: USA
Posts: 119
It is much easier to run explains in IBM data studio.
1. Create data development project for the database connection
2. Create SQL script which you want to explain in SQL scripts holder under this project
3. Right click on SQL script and click on open visula explain
4. Upon opening the window select isolation, path, schema, current degree etc and finish.
5. It generates access plan diagram with estimated cost and other details.
Reply With Quote
  #3 (permalink)  
Old 06-03-10, 11:06
rockycj rockycj is offline
Registered User
 
Join Date: Feb 2007
Posts: 73
Okay I got as far as Step 3 and then I right-click and select Open Visual Explain and get this popup box error "Failed to display access plan diagram. null".

I don't know what to do now, is there a way activate the access plain diagram?

Thank you.

CC
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On