473,799 Members | 2,842 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Question on the design advisor

Running DB2 8.1.1 on AIX 5.1

When I run the design advisor on selected sql I am getting
'recommendation s' for indexes which already exist. I don't understand
why this is happening. They are described in the recommendations
exactly as they already exist. Relatively new to DB2.

Not sure if this is normal but don't understand, yet, why it would be.

Thanks
Gerry

Nov 12 '05 #1
4 1535
Ian
da*******@yahoo .com wrote:
Running DB2 8.1.1 on AIX 5.1

When I run the design advisor on selected sql I am getting
'recommendation s' for indexes which already exist. I don't understand
why this is happening. They are described in the recommendations
exactly as they already exist. Relatively new to DB2.


If I'm thinking of the same section in the advisor output, this is
just where the advisor points out which (existing) indexes it found
useful. Any other existing indexes were not useful for the workload
that you presented.

Nov 12 '05 #2
Question: Do you have to have a toold db to use design advisor though
the control center?

Nov 12 '05 #3
No you don't. You have to have the Advise Tables built.
If your explain tables have been built, quite likely the Advise ones are
there also.
If not, look in ..\sqllib\misc There's a file called EXPLAIN.DDL
Edit it to choose in which tablespace of that db you want your eplain/advise
tables; connect to the db and run the file.

You're now set up to get explained and advised.
HTH, Pierre.

--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
<da*******@yaho o.com> a écrit dans le message de
news:11******** **************@ g14g2000cwa.goo glegroups.com.. .
Question: Do you have to have a toold db to use design advisor though
the control center?


Nov 12 '05 #4
Pierre:

The problem we are having now is that we can do a db2advis on the
command line against a query and get results (recommendation s). If I
then query explain_instanc e and/or advise_index those tables do get
populated.

However if I try running the same query through the Control Center GUI
Design Advisor I don't get any recommendations at all. I also noticed
that when I run the query through Design Advisor the explain/advise
tables do not get populated.

Have an ETR open with IBM on this but so far no luck.

Thanks
Gerry

Nov 12 '05 #5

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

Similar topics

10
2252
by: ma740988 | last post by:
I'm hoping my post here doesn't fall into the 'hard to say' category, nonetheless I've been advised that multiple uses of accessor/mutator (get/set) member functions can be viewed as a 'design flaw'. In that regard I'm trying to create an 'example' class that's an alternative to the accessor/mutator approach. To further describe the problem consider the class BAR (below) which has a member data in_use that FOO needs visibility into. ...
7
1862
by: ma740988 | last post by:
I've got an unpacker that unpacks a 32 bit word into 3-10 bits samples. Bits 0 and 1 are dont cares. For the purposes of perfoming an FFT and an inverse FFT, I cast the 10 bit values into doubles. I'm told: "floats and doubles have bits for mantissa and exponent. (I knew that). If you are subtract bits that partly belong to mantissa and partly belong to exponent, that hardly makes sense. Anyway, looking on bits only, a float has 32...
3
3899
by: Larry Trutter | last post by:
Environment: Windows 2000 DB2 Version 8 fixpack 4 I am attempting to use DB2 Configuration Advisor. But when I get to the end of that wizard process (sequentially - I went through all the steps and did not skip any)and "Review the performance configuration recommendations" screen displayed the all current values and all new values to be exactly the same every time. For a specific example, I changed the memory usage percentage and the...
1
1327
by: Jean-Marc Blaise | last post by:
Dear all, It would be nice if the Design advisor was not outputing all "unused indexes" of the whole database (10000 tables at least), when the workload is only using 4 tables. Why not limiting these "unused indexes" to the 4 tables in the workload ? Best regards,
1
1861
by: Peter Arrenbrecht | last post by:
Does anyone have experience with running the DB2 Design Advisor on huge workloads? I have a workload for a single day for some 132'000 statements in a file. Will the advisor handle this or should I take a sample? Thanks, Peter Arrenbrecht Opus Software AG
0
1308
by: Jean-Marc Blaise | last post by:
Dear all, After FP8 apply on a DB2 UDB multi-partition instance, the design advisor's MQT function is not selectable. From the DB2 Information Center (FP7), there is nothing that suggests that MQTs should not work in multi-partition. Have you encountered this problem (I have tested and got the problem on both Windows and Linux) ? Regards,
3
1668
by: UnixSlaxer | last post by:
Hello, I am using DB2 UDB v.8.2, with TPC-H 1GB database. When I use the design advisor, and set a disk space limit of 100 MB, the design advisor does not recommend anything. db2advis -l 100 -d TPCH -i c:\thequeries.sql -k OFF -m I -t 10 With another database, I did the same, but with a space constriant of
2
1339
by: dunleav1 | last post by:
How do I clear the sql statements the design advisor gui picks up in the default workload?
0
1503
by: Okonita | last post by:
Hello community, My environment is DB2 UDB v8.2 LUW. I am experiencing a vexing problem with using my DB2 Design Advisor. I submitted a SQL script to Advisor for index recommendation and I am getting the error: IBM] SQL0180N The syntax of the string representation of a datetime value is incorrect. SQLSTATE"007
0
9544
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10490
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...
0
10259
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10238
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
9077
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
5467
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
5589
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3761
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2941
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.