473,605 Members | 2,219 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

set current explain mode recommend indexes

hi,

our db2advis is broken and i am trying to find other ways to get
recommended indexes
i tried using command "SET CURRENT EXPLAIN MODE RECOMMEND INDEXES" and
it populated ADVISE_INDEXES table. new indexes recommended by this
command does not have runstats on it.
how can i evaluate new suggested indexes ?
do i have to physically create these indexes and then explain my SQL ?
can i do it without actually creating suggested indexes ?
what is the difference between "SET CURRENT EXPLAIN MODE RECOMMEND
INDEXES"
and "SET CURRENT EXPLAIN MODE EVAULATE INDEXES"
they both seems to fill same kind of information in ADVISE_INDEXES
table.
please suggest me a way to get around functionality of db2advis

regards,
jag

Jul 7 '06 #1
3 2743
"db2admin" <ja****@gmail.c omwrote in message
news:11******** **************@ s13g2000cwa.goo glegroups.com.. .
our db2advis is broken
This is a blessing in disguise.
please suggest me a way to get around functionality of db2advis
Hire someone who understands DB2 performance tuning and can tune the query
with using db2advis.
Jul 7 '06 #2

Mark A wrote:
"db2admin" <ja****@gmail.c omwrote in message
news:11******** **************@ s13g2000cwa.goo glegroups.com.. .
our db2advis is broken

This is a blessing in disguise.
please suggest me a way to get around functionality of db2advis

Hire someone who understands DB2 performance tuning and can tune the query
with using db2advis.
thanks for your reply mark but you did not answer my question

Jul 10 '06 #3

db2admin wrote:
Mark A wrote:
"db2admin" <ja****@gmail.c omwrote in message
news:11******** **************@ s13g2000cwa.goo glegroups.com.. .
our db2advis is broken
This is a blessing in disguise.
please suggest me a way to get around functionality of db2advis
>
Hire someone who understands DB2 performance tuning and can tune the query
with using db2advis.

thanks for your reply mark but you did not answer my question
Sorry, I meant "without" using db2advis.

db2advis will not give you the best optimization of your system. It
often suggests creating indexes that are not needed. It also seems to
(inexplicably) puts columns in descending order when suggesting
indexes, for no discernable reason.

Jul 10 '06 #4

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

Similar topics

0
297
by: DMD | last post by:
How do I determine the current edit mode within a RichTextBox control? The user may toggle the key to turn off/on insert, how do I quer the RichTextBox control to get this information Another related question; how do I change the carat to reflect insert/typeover Any help would be greatly appreciated I can be reached at: davedockery@comcast.net
3
1659
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
16
2133
by: romicva | last post by:
I've recently upgraded from 8.1.4 to 8.2.3. System slowed down noticably. Explain shows that indexes are not used. I did reorgs on indexes and tables, collected stats on key fields with detail sample for all indexes with no improvement. Any help would be greatly appretiated. Thank you in advance.
3
4223
by: Tom | last post by:
I have a wierd situation... Have a Windows Form with a number of text boxes, combo boxes, etc. After the user enters a value inside my first text box (tabindex 0), I then dynamically create a number of label - Textbox combination fields inside a panel in the form. During the creation of those fields I set the TabIndex to a incrementing number (that is between current tab indexes) and the TabStop to True. However, once I create these dynamic...
1
1504
by: awebguynow | last post by:
I'm working in a Lamp environment, (actually WAMP), am using one of the many Calendar widgets (that has configurable formats), and have a heavy data in/data out (forms/reports) webapp. This is probably more of a design issue, than PHP issue, but we all deal with this. My 1st priority has been for simplicity, so I have used std. MySQL format for the text input that feeds into the table.Column. There are problems with that and I'd like...
2
2435
by: WT | last post by:
Hello, I tryed to fix a variable with the current authentication mode, I tryed to use Request.LogonUserIdentity AuthenticationType for this but when I traced with this code if (Request.LogonUserIdentity != null) { sb.AppendFormat("Request.LogonUserIdentity AuthenticationType: {0}<br />", Request.LogonUserIdentity.AuthenticationType); .....
3
6541
by: dilippanda | last post by:
Hi, Can you please explain me how indexes improve performance? And where to use which index? A link will also be useful for me. Thanks, Dilip
5
8001
by: Spoon | last post by:
Hello everyone, I don't understand how the lrint() function works. long lrint(double x); The function returns the nearest long integer to x, consistent with the current rounding mode. It raises an invalid floating-point exception if the magnitude of the rounded value is too large to represent. And it raises an inexact floating-point exception if the return value does not
1
3569
by: w.l.fischer | last post by:
Hi, the following sequence: set current explain mode yes; set current explain snapshot yes; update ...; set current explain mode no;
0
8007
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
8076
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
8290
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...
0
6749
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
5446
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
3913
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
3960
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1546
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1274
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.