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

Design Advisor does not recommend indexes !!

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
45 MB, again the advisor did not recommend indexes. Yet, I was able to
create 14 single-column indexes using the 45 MB myself, and improved by
the workload by %10.

Can some one help me here? its just not logical.

Thanks

Nov 12 '05 #1
3 1632
"UnixSlaxer" <un********@hotmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
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
45 MB, again the advisor did not recommend indexes. Yet, I was able to
create 14 single-column indexes using the 45 MB myself, and improved by
the workload by %10.

Can some one help me here? its just not logical.

Thanks

The DB2 design advisor is for sissies. Any decent DBA can do better by
themselves.

If you want to see what indexes IBM used when they ran the DB2 benchmarks,
look a the "Full Disclosure Report" for the benchmark test on the
www.tpc.org site. In some cases IBM used "organize by" (which is really
MDC), but if you just use the same columns for regular indexes it should
work about the same.
Nov 12 '05 #2

"UnixSlaxer" <un********@hotmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
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
45 MB, again the advisor did not recommend indexes. Yet, I was able to
create 14 single-column indexes using the 45 MB myself, and improved by
the workload by %10.

Can some one help me here? its just not logical.

Thanks


Tuning is an art. Why would you want to use robot?
Nov 12 '05 #3
in****@gmx.ch wrote:

Tuning is an art. Why would you want to use robot?

Where i can learn this?
Any tuts available?


Your nearest IBM Education Center also gives yearly Performance Tuning
courses (at least, the EC in Amsterdam does :p).
The course is nice, you forget most the day after, but you get some
Learning Services Student notebooks, which make excellent reference
guides. (+a nice certificate you can hang in your office :S)

-R-
Nov 12 '05 #4

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

Similar topics

10
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...
1
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...
1
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...
4
by: datapro01 | last post by:
Running DB2 8.1.1 on AIX 5.1 When I run the design advisor on selected sql I am getting 'recommendations' for indexes which already exist. I don't understand why this is happening. They are...
3
by: datapro01 | last post by:
I am running DB2 8.1.1 on AIX 5.1 Running the db2advis command on a set group of sql statements. They are taking default values on frequency. I run the command db2advis -d scdoltpt -i...
2
by: Sathya | last post by:
We are facing design issues, Could you please advice us how to proceed? Problem description: Web App will pass a complex dynamic SQL query to backend and it should return result set as fast as it...
2
by: Quasar | last post by:
Hi Gents, I'm trying to tune our DBs using the Desing Advisor feature. I'm interested just in the indexes area. Following the IBM infocenter I came to this page:...
0
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...
4
by: Michel Esber | last post by:
DB2 LUW v8 FP15 Linux. Consider the table T (ID varchar, FIELD_TIME timestamp, Field3 integer). There are approx. 1k different IDs. Each minute, one application inserts around (avg. 200, max...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.