473,659 Members | 2,624 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

visual explain

Since upgrading to db2 8.2.1 I've been having odd problems with visual
explain:

1. tables appear to require schema prefixes:
[IBM][CLI Driver][DB2/AIX64] SQL0204N "BUCK.DIM_SENSO R"
is an undefined name. SQLSTATE=42704

I had already set the schema to dw - where queries can find
dw.dim_sensor

Now, this isn't a killer - I can always modify the sql before
explaining it - but it seems like an unnecessary further PITA.
2. DBA3065E Snapshot cannot be processed due to a CLI error.
Explanation:
A CLI error has occurred during snapshot processing. An
access plan cannot be displayed.

DBA3037E The explain snapshot has been corrupted. Your request
cannot be completed.
Explanation: The explain snapshot that is requested has been
corrupted in the explain tables.

Ok, no idea how to handle this one. So, I guess I just won't be
using this tool to get an explain on this query. And if this
happens more than every now & then - I've got ZERO chance on
getting the developers to use it.

You know, there are quite a few different new bells & whistles being
added to db2 these days. Some of them are really terrific. But why
can't we make sure the basic components are nearly bulletproof before
adding new gewgaws?

And no, I'm really not interested in calling support unless absolutely
necessary - I expect this kind of thing to work perfectly out of the
box, and don't appreciate having to waste my time on the phone to
fiddle with the product to get it to work. At a certain point support
lines become crutches to allow vendors to release an inferior product,
and get it fixed in the field.

So, is there a simple fix? Do I have to ugrade to v8.2.2?

buck

Nov 12 '05 #1
2 3897
"Buck Nuggets" <bu*********@ya hoo.com> wrote in message
news:11******** **************@ g14g2000cwa.goo glegroups.com.. .
Since upgrading to db2 8.2.1 I've been having odd problems with visual
explain:

1. tables appear to require schema prefixes:
[IBM][CLI Driver][DB2/AIX64] SQL0204N "BUCK.DIM_SENSO R"
is an undefined name. SQLSTATE=42704

I had already set the schema to dw - where queries can find
dw.dim_sensor

Now, this isn't a killer - I can always modify the sql before
explaining it - but it seems like an unnecessary further PITA.
2. DBA3065E Snapshot cannot be processed due to a CLI error.
Explanation:
A CLI error has occurred during snapshot processing. An
access plan cannot be displayed.

DBA3037E The explain snapshot has been corrupted. Your request
cannot be completed.
Explanation: The explain snapshot that is requested has been
corrupted in the explain tables.

Ok, no idea how to handle this one. So, I guess I just won't be
using this tool to get an explain on this query. And if this
happens more than every now & then - I've got ZERO chance on
getting the developers to use it.

You know, there are quite a few different new bells & whistles being
added to db2 these days. Some of them are really terrific. But why
can't we make sure the basic components are nearly bulletproof before
adding new gewgaws?

And no, I'm really not interested in calling support unless absolutely
necessary - I expect this kind of thing to work perfectly out of the
box, and don't appreciate having to waste my time on the phone to
fiddle with the product to get it to work. At a certain point support
lines become crutches to allow vendors to release an inferior product,
and get it fixed in the field.

So, is there a simple fix? Do I have to ugrade to v8.2.2?

buck

You should upgrade to FP10 before you do anything else. Also, make sure you
upgrade your databases with db2updv8 (see Command Reference) after applying
the FP and upgrading the instances. This procedure is not included in the
earlier FP readme installation instructions (erroniously), but is for FP10.
Nov 12 '05 #2
Mark A wrote:
You should upgrade to FP10 before you do anything else. Also, make sure you
upgrade your databases with db2updv8 (see Command Reference) after applying
the FP and upgrading the instances. This procedure is not included in the
earlier FP readme installation instructions (erroniously), but is for FP10.


Thanks Mark.

I just reviewed the apars for this fp and see that FP10 will fix the
visual explain problem with merges and comments. I hadn't gotten to
the problem with unions yet. But it doesn't list the problem with
requiring schema prefixes.

Still, it looks like a lot of code was cleaned up, so maybe they've got
both of these problems fixed.

Buck

Nov 12 '05 #3

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

Similar topics

1
2395
by: Ranganath M V | last post by:
Hi, How do i get an explain report of a UDB DB2 stored procedure. DB2 is installed on Unix Currently i am copying each SQL in my stored procedure on to the comman cneter and geting the visual explain report. Is there a way i can run explain for the complete stored procedure.
1
3807
by: bruce_milner | last post by:
I am having a problem using DB2 for z/OS Visual Explain V8 for Windows. The error message is: Fail to load JDBC driver COM.ibm.db2.jdbc.app.DB2Driver I have un-installed/re-installed DB Connect Client and Visual Explain client several times. I have checked our paths, and searched IBM's site and Google for more information. The JDBC driver above is on all the PCs in the correct .ZIP file.
0
1184
by: juliane26 | last post by:
Being new on z/OS for some time I do have some problems with Explain. I tried the Visual Explain for z/OS, but since we use Version 7 database I can't even see the join predicates or any cost estimation. Anybody experienced this as well ? I am not sure this is related to that we use V7 and the product has been designed for V8 database. Since already in V7 documentation I find that I should see much more I tried to get an older...
10
2140
by: Jeff Boes | last post by:
I'm hoping there's someone here with experience in building the Visual Explain tool from Red Hat. I downloaded it and the J2 SDK, but when I attempt to follow the build instructions, I get messages like: error: Type `JTableHeader' not found in the declaration of the local variable `header'. JTableHeader header = null; To me, this indicates that the SDK isn't installed (properly). But I admit I'm pretty much a Java...
0
1852
by: jfnorris | last post by:
I'm having some difficulty with Visual Explain. When I explain reletively simple sql, VE will generate an access plan. If I try to explain sql with several joins both outer and inner, or anthing more complicated, the tool will act like it's processing the sql but does not generate the access plan. No errors or anything. Any Ideas?? Thanks in adavnce.
0
1218
by: new | last post by:
No matter whether I do a explain or a run and explain i get times only for the full query and not for the indivdual steps that are shown in the icons. Is there some way to do this? Also do you have a site with suggestions on how to use this tool? I have used quest and Oracle but I am missing something with Visual Explain.
0
282
by: mantaintai | last post by:
Proof of visual consciousness visual consciousness image formation by a plane mirror , visual consciousness, transform, virtual image , overlap(superpose), dual identities, seeing an object How could an object become visible when observed by the eyes of the human beings, i.e., how could the electrochemical changes of the visual cortex and cerebral cortex be transformed into an object?
1
1333
by: mantaintai | last post by:
I uncover the secret of visual consciousness Proof of visual consciousness visual consciousness image formation by a plane mirror , visual consciousness, transform, virtual image , overlap(superpose), dual identities, seeing an object How could an object become visible when observed by the eyes of the
0
1602
by: vrama11 | last post by:
Hi, I am using DB2 V9.1.300.257 on Windows. When I try to get the visual explain plan for a query from the command editor, it gives the following error: SQL0104N An unexpected token "WITH SNAPSHOT" was found following "LAIN PLAN SELECTION ". Expected tokens may include: "FOR". SQLSTATE=42601 After some struggle, I figured out that this seems to happen when the optimizer is re-writing the base query to use an MQT. I confirmed...
0
8428
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
8539
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
8630
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...
1
6181
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5650
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4176
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
4342
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2759
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
1982
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.