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

Emptying index advisor cache

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:
http://publib.boulder.ibm.com/infoce...n/t0011424.htm
which explains how to create a workload from the dynamic statements
cache.
The problem comes when I reset the statements cache before starting
the monitoring period, issuing:
db2 reset monitor for database <database-name>

I have some doubts on the usefulness of this command, because it does
not seem to clear the cache. In fact if I run
db2 get snapshot for DYNAMIC SQL on <database-name>
I never get an empty list. It seems this is not the right command to
empty the statements cache.

Would anybody be so kind to help me with this index advisor? Am I
using this db2advis in the wrong way?

Thanks in advance.

Quasar

Aug 6 '07 #1
2 2579
"Quasar" <qu*****@gmail.comwrote in message
news:11*********************@d55g2000hsg.googlegro ups.com...
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:
http://publib.boulder.ibm.com/infoce...n/t0011424.htm
which explains how to create a workload from the dynamic statements
cache.
The problem comes when I reset the statements cache before starting
the monitoring period, issuing:
db2 reset monitor for database <database-name>

I have some doubts on the usefulness of this command, because it does
not seem to clear the cache. In fact if I run
db2 get snapshot for DYNAMIC SQL on <database-name>
I never get an empty list. It seems this is not the right command to
empty the statements cache.

Would anybody be so kind to help me with this index advisor? Am I
using this db2advis in the wrong way?

Thanks in advance.

Quasar
connect to <db-name>
db2 flush package cache dynamic
Aug 6 '07 #2
connect to <db-name>
db2 flush package cache dynamic
Thanks a lot Mark, I owe you a beer! :)

Quasar

Aug 8 '07 #3

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

Similar topics

3
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...
36
by: xixi | last post by:
hi, we are using db2 udb v8.1 on windows, i try to use the configuration advisor to get recommendation on the parameter setting, at first, i give the target memory for DB2 is 80% of the physical...
3
by: xixi | last post by:
we are using db2 udb v8.1 on windows, is there any monitor tool telling the index frequent usage? so i know which index picked up most?
3
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...
5
by: Bas Scheffers | last post by:
Hi, I have a table with about 100K rows, on which I have created a btree index of the type table_name(int, int, int, timestamp). At first postgres was using it for my AND query on all four...
0
by: Daren | last post by:
Hi, I have an asp.net site, with most of the pages having this statement at the top to cache them for 10 minutes: <%@ OutputCache Duration="600" VaryByParam="none" %> Now, under certain...
15
by: rAinDeEr | last post by:
Suppose i have a table which holds thousands of records with the following structure CREATE TABLE "test "."T_CNTRY" ( "CNTRY_CDE" CHAR(2) NOT NULL , "CNTRY_NAME" VARCHAR(50) ) and i have...
7
by: Dave Hammond | last post by:
Hi All, I'd like to have indexed search capability on column A, column B, or columns (A,B) for a given table. According to the MySQL manual, a multi-column index of (A,B) will provide "leftmost...
7
by: reachsamdurai | last post by:
Hello, I'm looking for a method to check the utilization of index by any SQL (Static and Dynamic) at the database level instead of generating the access plan for each SQL. I have inherited a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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
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
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...
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...
0
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,...

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.