473,385 Members | 1,958 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

db2advis giving trouble

hello,

db2advis gave me error like
db2advis -d ABC -s "select * from sysibm.sysdummy1" -m MIC -c USERSPACE1 -n XYZ -l 5000
execution started at timestamp 2006-11-15-09.51.37.046473
Using the default table space name USERSPACE1
Recommending indexes...
Recommending MQTs...
Recommending Multi-Dimensional Clusterings...
Found 6 user defined views in the catalog table
Found [4] candidate MQTs
Getting cost of workload with MQTs
I'm having trouble processing the following query, statement [1] in the
workload

Please check the syntax:
SQL: <select * from sysibm.sysdummy1>

Database is reporting the following error:

error. The db2advis tool needs the explain tables and
the advise tables to exist. Please create them
using the EXPLAIN.DDL script in the misc subdirectory
of the sqllib directory.

12 solutions were evaluated by the advisor

exiting with error code [-220]

i have already created explain and advise tables and verified that they
exist.
please help if someone experiences the same.

Nov 15 '06 #1
2 5382
Make sure you have the explain tables for the user who invokes the
db2advis with proper permissions.
hello_db2 wrote:
hello,

db2advis gave me error like
db2advis -d ABC -s "select * from sysibm.sysdummy1" -m MIC -c USERSPACE1 -n XYZ -l 5000

execution started at timestamp 2006-11-15-09.51.37.046473
Using the default table space name USERSPACE1
Recommending indexes...
Recommending MQTs...
Recommending Multi-Dimensional Clusterings...
Found 6 user defined views in the catalog table
Found [4] candidate MQTs
Getting cost of workload with MQTs
I'm having trouble processing the following query, statement [1] in the
workload

Please check the syntax:
SQL: <select * from sysibm.sysdummy1>

Database is reporting the following error:

error. The db2advis tool needs the explain tables and
the advise tables to exist. Please create them
using the EXPLAIN.DDL script in the misc subdirectory
of the sqllib directory.

12 solutions were evaluated by the advisor

exiting with error code [-220]

i have already created explain and advise tables and verified that they
exist.
please help if someone experiences the same.
Nov 18 '06 #2
hi,

i have created explain tables and i verified that they exist.

On Nov 17, 9:01 pm, "Visu" <Visuba...@gmail.comwrote:
Make sure you have the explain tables for the user who invokes the
db2advis with proper permissions.

hello_db2 wrote:
hello,
db2advis gave me error like
db2advis -d ABC -s "select * from sysibm.sysdummy1" -m MIC -c USERSPACE1 -n XYZ -l 5000
execution started at timestamp 2006-11-15-09.51.37.046473
Using the default table space name USERSPACE1
Recommending indexes...
Recommending MQTs...
Recommending Multi-Dimensional Clusterings...
Found 6 user defined views in the catalog table
Found [4] candidate MQTs
Getting cost of workload with MQTs
I'm having trouble processing the following query, statement [1] in the
workload
Please check the syntax:
SQL: <select * from sysibm.sysdummy1>
Database is reporting the following error:
error. The db2advis tool needs the explain tables and
the advise tables to exist. Please create them
using the EXPLAIN.DDL script in the misc subdirectory
of the sqllib directory.
12 solutions were evaluated by the advisor
exiting with error code [-220]
i have already created explain and advise tables and verified that they
exist.
please help if someone experiences the same.- Hide quoted text -- Show quoted text -
Nov 20 '06 #3

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

Similar topics

5
by: Matthew Dauphinee | last post by:
Is anyone else having trouble using db2advis in V8 Fixpak 7? I am getting this: ===================================================================== Using user id as default schema name. Use...
1
by: norab | last post by:
Hi, In the help here (http://publib.boulder.ibm.com/infocenter/db2help/topic/com.ibm.db2.udb.doc/admin/t0011424.htm?resultof=%22%77%6f%72%6b%6c%6f%61%64%22%20) is described that you can run the...
5
by: dotyet | last post by:
I have been given the daunting task of sql query tuning. I am looking for ways to get started with that. I am on DB2 UDB 8.2 (8.1 with Fixpak 8) on Windows. One point which I could think about...
1
by: Anurag | last post by:
Hi All, Server = DB2 ESE 8.2 on Linux, Client = DB2 Admin Client 8.2 on Windows Question = Can I execute "db2advis" from this Windows Client? Kindly see the error I receive and the setup below....
1
by: mandible | last post by:
Hello I was wondering if I"m doing something wrong with using db2advis I have 2 stored procedures are are massive, I created an input file to call both of these stored procedures and I dont' seem...
5
by: lennart | last post by:
Here's the scenario. Take backup on production machine Restore backup on development machine OS and fixpak identical, but - and I suspect this has something to do with it - the dbadm user...
0
by: sancho | last post by:
Hi folks: My environment: db2level: "DB2 v8.1.0.48", "s040212", "MI00069", FixPak "5". db2licm -l: DB2 Enterprise Server Edition uname -a: Linux 2.6.17-1.2187_FC5smp My question:
0
by: db2dbdba | last post by:
Hi all, I am getting the following problem when i run the db2advis. ]$ db2advis -d sample -i name3.sql -n db2inst1 -o db2advise.out 0 solutions were evaluated by the advisor exiting with...
0
by: suniltcs | last post by:
When I run DB2advis , i get below error message. ). db2advis -d aqwrwist -l -1 -s "select * from wis.cond with ur;" Using user id as default schema name. Use -n option to specify schema ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...

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.