473,577 Members | 3,273 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 "Materializ ed 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 1866
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 "Materializ ed 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
5710
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 reset monitor command before running db2advis with the -g option. Can someone explain what the relation is between these monitor areas and the...
5
9174
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 starting from is the db2 design advisor. However, whenever I try to execute the db2advis utility I get the following error: C:\db_tuning>db2advis -d...
2
2119
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 well as the space of current indexes and materialized views. The documentation says the disk-limit "Specifies the number of megabytes available for...
1
4429
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. Setup = As below: (1) EXPLAIN / ADVISE tables on database SRV are created in instance owner schema "db2inst1". (2) From windows I am connected...
1
4153
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 to get any index help, but if I put the main body of these stored procs in a view and do a select * from that view I get a tonne of index help. ...
5
4981
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 differs between prod and dev. drop explain tables and recreate them for dbadm on dev.
2
5405
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... Recommending Multi-Dimensional Clusterings... Found 6 user defined views in the catalog table
0
1524
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
3503
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 error code
0
7845
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...
0
8121
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. ...
0
8286
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
5340
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...
0
3779
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...
0
3797
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2287
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
1
1385
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1107
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...

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.