Unix Technical Forum

Is this is output from EXPLAIN?

This is a discussion on Is this is output from EXPLAIN? within the DB2 forums, part of the Database Server Software category; --> Total Cost: 43.712 Query Degree: 1 Rows RETURN ( 1) Cost I/O | 3.44 HSJOIN ( 2) 43.712 2 ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-24-2008, 07:08 AM
lenygold via DBMonster.com
 
Posts: n/a
Default Is this is output from EXPLAIN?

Total Cost: 43.712
Query Degree: 1

Rows
RETURN
( 1)
Cost
I/O
|
3.44
HSJOIN
( 2)
43.712
2
/-----+-----\
86 3.44
TBSCAN TBSCAN
( 3) ( 4)
20.7463 22.2771
1 1
| |
86 86
TABLE: LORYSA TABLE: LORYSA
CHILD_TABLE MAIN_TABLE

What tool generating such output?
I would like to read about it and use it if it is available on mainframe.
Thank's in advance.
Leny G.

--
Message posted via DBMonster.com
http://www.dbmonster.com/Uwe/Forums....m-db2/200805/1

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-24-2008, 07:08 AM
Serge Rielau
 
Posts: n/a
Default Re: Is this is output from EXPLAIN?

lenygold via DBMonster.com wrote:
> Total Cost: 43.712
> Query Degree: 1
>
> Rows
> RETURN
> ( 1)
> Cost
> I/O
> |
> 3.44
> HSJOIN
> ( 2)
> 43.712
> 2
> /-----+-----\
> 86 3.44
> TBSCAN TBSCAN
> ( 3) ( 4)
> 20.7463 22.2771
> 1 1
> | |
> 86 86
> TABLE: LORYSA TABLE: LORYSA
> CHILD_TABLE MAIN_TABLE
>

This is db2exfmt. I don't know whether there is a similar tool for DB2
zOS. However the graphical explain shows very similar output and shoudl
be teh same across platforms.
Try Data Studio.

Cheers
Serge


--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-24-2008, 07:08 AM
lenygold via DBMonster.com
 
Posts: n/a
Default Re: Is this is output from EXPLAIN?

Thank You Serge.

Serge Rielau wrote:
>> Total Cost: 43.712
>> Query Degree: 1

>[quoted text clipped - 20 lines]
>> TABLE: LORYSA TABLE: LORYSA
>> CHILD_TABLE MAIN_TABLE

>
>This is db2exfmt. I don't know whether there is a similar tool for DB2
>zOS. However the graphical explain shows very similar output and shoudl
>be teh same across platforms.
>Try Data Studio.
>
>Cheers
>Serge
>


--
Message posted via http://www.dbmonster.com

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-24-2008, 07:08 AM
The Boss
 
Posts: n/a
Default Re: Is this is output from EXPLAIN?

lenygold via DBMonster.com wrote:
> Thank You Serge.
>
> Serge Rielau wrote:
>>> Total Cost: 43.712
>>> Query Degree: 1

>> [quoted text clipped - 20 lines]
>>> TABLE: LORYSA TABLE: LORYSA
>>> CHILD_TABLE MAIN_TABLE

>>
>> This is db2exfmt. I don't know whether there is a similar tool for
>> DB2 zOS. However the graphical explain shows very similar output and
>> shoudl be teh same across platforms.
>> Try Data Studio.
>>
>> Cheers
>> Serge


For DB2 for z/OS v7 and v8, the tool of choice is "DB2 Visual Explain".
For DB2 9 for z/OS there are 3 alternative offerings, one of them is indeed
Data Studio.

See:
http://www.ibm.com/software/data/db2/zos/osc/ve/
where you will find some general info on Visual Explain and download-links
for VE.
Also link to the DB2 9 alternatives.

Further read this article by Craig Mullins:
http://www.ibm.com/developerworks/db...01mullins.html

PS for v8 also consider using the Statistics Advisor that comes as an extra
free tool with VE:
http://www-1.ibm.com/support/docview...id=swg21206998

HTH

--
Jeroen


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:15 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com