473,809 Members | 2,776 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Jun 27 '08 #1
3 1903
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
Jun 27 '08 #2
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

Jun 27 '08 #3
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
Jun 27 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3133
by: Bliss | last post by:
Hi All, I have a table Truck_Journey with the following structure Tj_Date Date Tj_Truck_Id Number(5) Tj_Truck_No Varchar2(10) Tj_Km Number(9) ....
4
1986
by: rossum | last post by:
I have been looking at exceptions as I need to get better at using them. I came across an interesting effect, demonstrated below. When I ctrl-Z the input to throw an ios_base::failure, the first line of output from cout is lost, even if I clear() and flush(). The only way I have found to get the first line to appear is to put a newline at the start. It seems to be ignoring everything up to and including the first newline.
54
4126
by: bnp | last post by:
Hi, I took a test on C. there was an objective question for program output type. following is the program: main() { char ch; int i =2;
22
2118
by: Jaspreet | last post by:
I was recently asked this question in an interview. Unfortunately I was not able to answer it and the interviewer made a decision on my C strengths (or weekness) based on this single question and that was a sad end to my interview. Here is the program: #include <stdio.h> int main() { char *c ="abc";
12
1686
by: unique | last post by:
I have written some programs in c lang yet but today I get confused with output i get. I have function educate(..) which i call in main program this way: J = educate(no_layers, no_neurons, input, output, lay, weights, 0.1,0); printf("J= %f\n",J); In the educate function i count J and i return it (but before I return it I output it with printf):
6
1359
by: Jerome Lyles | last post by:
I have a small training database: sql_tutorial. It works fine but the spacing between the output lines is too much. This is the way it looks when I copy and paste from the Konsole to this email: sql_tutorial=> SELECT prod_name FROM Products; prod_name...
2
1777
by: Patrick Hatcher | last post by:
I have the following SQL with explain Should I be concerned with the merge cond: Merge Cond: (("outer".masked_acct_id)::text = "inner"."?column5?")? I have no idea what column5 is or the same token the column6 shown later. explain select fed.indiv_fkey, SUM(agg.purch_dollars) as val_purch_store, SUM(agg.no_visits) as cnt_visit_store, SUM(CASE x.gmmid when 1 Then agg.purch_dollars else 0 end) as
10
9672
by: Johannes Barop | last post by:
Hi, I want to format the output of a 'std::ostream', but i dont know how to do it . Example: int main() { my_out << "Hi.\nI'am a" << " Computer."; my_out << "Nice.";
0
2782
by: LanaR | last post by:
Hello, one sql statement is causing severe performance issue. The problem occurs only in UDB environment, the same statemnt on the mainframe is running fine. I have an explain output from the sql. The statement itself is not that complicated, it is 3 selects and union all. Explain output is pretty big, but I could not find anything unusual. I'm new to db2 and I could be missing stuff. I am posting the explain output below and I really...
0
10640
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10387
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10120
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9200
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5689
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4332
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3861
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3015
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.