473,395 Members | 1,471 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,395 software developers and data experts.

db2advis - works with indexes but not MV

Hello, I am using DB2-UDB 8.2, when running the design advisor, It
exists tells me that "catalog simulation requires that the server be at
level V8.0 or newer", although the DB2 version is 8.2 (with Fixpack 9).
When I remove "Materialized Views" from the recommendation and choose
only "Indexes", it works.

Any suggestions?
Command : db2advis -f -d TPCH -t 5 -i c:\q3.sql -m MI -o c:\advise.txt

Output :

Starting the Database Manager Now
execution started at timestamp 2005-06-10-16.12.37.816005
Using the default table space name USERSPACE1
found [21] SQL statements from the input file
Recommending indexes...
Recommending MQTs...
Multiple query optimization failed (groups of queries) SQLCODE=-1224
DB request error turning simulation suspend: rc = -1

SQL0901N The SQL statement failed because of a non-severe system
error.

Subsequent SQL statements can be processed. (Reason "Catalog
Simulation
requires that the server be at level V8.0 or newer

*************************************
* CONTENTS OF SQLCA *
*************************************

SQLCABC = 136
SQLCODE = -901
SQLERRMC = Catalog Simulation requires that the server be at level V8.0
or newer
ÿ
SQLERRP =
sqlerrd[0] = 0
sqlerrd[1] = 0
sqlerrd[2] = 0
sqlerrd[3] = 0
sqlerrd[4] = 0
sqlerrd[5] = 0
SQLWARN =
SQLSTATE =
Critical SQLCODE. Exiting db2advis ...
DB request error turning simulation suspend: rc = -1

SQL0901N The SQL statement failed because of a non-severe system
error.
Subsequent SQL statements can be processed. (Reason "Catalog
Simulation
requires that the server be at level V8.0 or newer

Nov 12 '05 #1
2 1859
Here is the answer I got:

"catalog simulation requires that the server be at level V8.0 or newer"
is found when a trap was found in DB2. What should be done is reporting
this to DB2 as a PMR and getting the trap file that was output in the
sqllib/db2dump directory so IBM can investigate.

Nov 12 '05 #2
"UnixSlaxer" wrote:
Hello, I am using DB2-UDB 8.2, when running the design
advisor, It
exists tells me that "catalog simulation requires that the
server be at
level V8.0 or newer", although the DB2 version is 8.2 (with
Fixpack 9).
When I remove "Materialized Views" from the recommendation and
choose
only "Indexes", it works.

Any suggestions?
Command : db2advis -f -d TPCH -t 5 -i c:q3.sql -m MI -o
c:advise.txt

Output :

Starting the Database Manager Now
execution started at timestamp 2005-06-10-16.12.37.816005
Using the default table space name USERSPACE1
found [21] SQL statements from the input file
Recommending indexes...
Recommending MQTs...
Multiple query optimization failed (groups of queries)
SQLCODE=-1224
DB request error turning simulation suspend: rc = -1

SQL0901N The SQL statement failed because of a non-severe
system
error.

Subsequent SQL statements can be processed. (Reason "Catalog
Simulation
requires that the server be at level V8.0 or newer

*************************************
* CONTENTS OF SQLCA *
*************************************

SQLCABC = 136
SQLCODE = -901
SQLERRMC = Catalog Simulation requires that the server be at
level V8.0
or newer
ÿ
SQLERRP =
sqlerrd[0] = 0
sqlerrd[1] = 0
sqlerrd[2] = 0
sqlerrd[3] = 0
sqlerrd[4] = 0
sqlerrd[5] = 0
SQLWARN =
SQLSTATE =
Critical SQLCODE. Exiting db2advis ...
DB request error turning simulation suspend: rc = -1

SQL0901N The SQL statement failed because of a non-severe
system
error.
Subsequent SQL statements can be processed. (Reason "Catalog
Simulation
requires that the server be at level V8.0 or newer


With the error: "catalog simulation requires that the server be at
level V8.0 or newer", this is found when a trap was found in DB2.
What should be done is reporting this to DB2 as a PMR and getting the
trap file that was output in the sqllib/db2dump directory
so IBM can investigate.

Thanks
Danny

--
Posted using the http://www.dbforumz.com interface, at author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbforumz.com/DB2-advis-wo...ict231461.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbforumz.com/eform.php?p=804333
Nov 12 '05 #3

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

Similar topics

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...
2
by: UnixSlaxer | last post by:
I am wondering, is the disk limit constraint in db2advis on a) The space of the recommended indexes and materialized views. b) The space of the recommended indexes and materialized views, as...
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...
2
by: hello_db2 | last post by:
hello, db2advis gave me error like execution started at timestamp 2006-11-15-09.51.37.046473 Using the default table space name USERSPACE1 Recommending indexes... Recommending MQTs......
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: 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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.