473,795 Members | 2,418 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Automatic Backup/Reorg/Runstats Evaluation - How do you force a new evaluation cycle?

Hi:

I'm testing DB2's new automated maintenance feature and, so far it
seems to accomplish what it is instructed to do, but we (DBA's) have no
control on when the evaluation cycle is going to happen nor when the
utilities are set to execute.

We only supply 'time ranges' for DB2 to operate upon. What I want is a
means to 'force' a new evaluation period (i.e. I'm creating and loading
new tables and I want to force a new evaluation cycle so that my
database/tables are considered for automated BACKUP/REORG/RUNSTATS).

Keep in mind that I'm testing these new features and.... yes, I know
that I can explicitly submit these utilities if I really need them.
Please save me advice...

Thanks in advance !!

Enrique Valdez

Dec 29 '05 #1
2 4080
If you have a full control over the automat -- than it is manual :-)

If you set the automated maintenance then you employ the database
manager as your dba. You should trust your dba or you should do it by
yourself.

If the table has been significantly modified and it would be wise to
recollect statistics, than db2 marks "statistics should be collected
for that table". The actual statistics collection takes place in next
available maintenance window (and you have control over that).

In that case database manager is so wise to come into conclusion
"statistics should be collected for that particular object, because
probably different query execution plan would be better for that
data". When you consider manual statistics collection you usually do
not track data changes -- you just collect the statistics when you want
(eg. low system utilization), but you don't know if your action might
have any influence on the optimizer.

If your system is over utilized and you have walking maintenance window
than switch to manual gear box, as all sport drivers do.
-- Artur Wronski

Dec 30 '05 #2
Artur (and group members):

I've read your answer, gave it a second thought and I will rephrase it.

I know that I have the 'manual' options to submitting the utilities
and, as a 'seasoned' DBA, this is what I always tell my customers to
do.
But it's not the utilities that I'm worried about, but the new
automation features.

As a DB2 technical support person, I'm usually contacted by my
customers (being them internal or external) asking me several
questions.
In this particular issue, they may contact me to explain why their DB2
instance's utilities are not executing automatically (at least they are
not being executed as frequently as they want or with a specific
timing).

This is precisely what I'm studying now. How to govern/control the new
automation features.
I've seen that there's a SYSTOOLS.POLICY table that contains
information regarding these automated tasks (Backup, Reorg, Runstats)
and I'm wondering if there are any means to 'touch' this table (or any
other DB2 object) that would influence/control the automation features.

Almost all the automated job/task scheduling software products that I
had the opportunity to deal with had the chance to submit a 'RUN NOW'
command to activate any given scheduled task to execute immediately,
regardless of its schedule.
This is what I'm looking for.

I hope that I'm making my point now. Better yet, I hope that the
group's members get my point.

Thanks in advance

Enrique Valdez
Certified DB2 UDB for z/OS v8.1 Database Administrator

Jan 3 '06 #3

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

Similar topics

1
7659
by: raqfg | last post by:
Hi. I am trying to test out the automatic maintanance with notification feature of DB2 v8.2. I have enabled the auto maint with notification. The problem I am facing is that I only get email notifications from DB2 when there is an alarm as follows: ADM10500E Health indicator "Monitor Heap Utilization" ("db2.mon_heap_util") breached the "upper" alarm threshold of "95 %" with value "124 %" on "instance" "DB2"....
1
4817
by: hikums | last post by:
1. I did a reorgchk, and found that F2 on table and F4 on index indicates a reorg is necessary. 2. Did a reorg. 3. Again I do a reorgchk, the report is the same as in Step 1 4. I do a runstats on all columns and key columns with distribution and indexes all
6
5484
by: Gert van der Kooij | last post by:
Hi, It's no problem to define the automatic maintenance using the wizard but I want to use commands to automate automation. I captured the SQL statements when activating the maintenance but that didn't help. I couldn't find anything about it in the docs so if anybody could help with this it would be great. Kind regards, Gert
3
5612
by: andy.standley | last post by:
Hi, I posted something a while ago about not being able to setup online reorgs - the db2 control center only offers online runstats. So I started adding tasks to reorg each table. This works fine, but sometimes it does not! The reorg fails and alerts me that it failed. The script is CONNECT TO ECNDB; REORG TABLE AIRLINE.FFMFWB INDEX AIRLINE.FFMFWB_IX1 INPLACE ALLOW WRITE ACCESS START ;
4
3038
by: db2group88 | last post by:
Hello, we are using db2 udb v8.2 on windows. if we need to run a reorg and runstats monthly, i think the best way to do them is via the tool "Configure Automatic Maintainance". I find out that for reorg, it has to be done offline. So I should schedule the offline timing for reorg and online timing for runstats. Will the tool automatically makes the database offline? What is the best time for the process happen? Should i put them to...
1
4052
by: Michel Esber | last post by:
Hello, Linux RedHat AS4 running DB2 V8 FP11. I have followed the docs at http://tinyurl.com/qckrn and enabled automatic statistics collection. It has been 2 days since I updated my DB cfg and I don´t see any activity regarding auto runstats. Also, the field STATS_TIME from syscat.tables shows that all my table statistics were last collected in March. What am I missing here ? Is
3
4378
by: Norm | last post by:
If RUNSTATS is called directly, we can specify UTIL_IMPACT_PRIORITY to limit CPU consumption. For automatic runstats, there is no place to specify this paramater. Will it use the DBM value of UTIL_IMPACT_LIM? Thanks in advance, Norm
1
3652
by: satish mullapudi | last post by:
Hi Am using DB2 UDB ESE on AIX platform. I used to take a full/ incremental online backup regularly. This process used to go on since years. But recently, whenever am trying to take the same, am receiving the 911 error msg. I have understood that the 911 errors are due to the locks held by RUNSTATS appln. on the tables. But since years , both the BACKUP & RUNSTATS have been running simultaneously without any errors. Any idea on why the...
7
3286
by: Okonita via DBMonster.com | last post by:
Hi all, I am very surprised to see that after doing a Reorgchk followed by reorg of selected tables and concluding with a runstats of the reorged tables, all of the tables continue to be identified and selected as reorg candidates in subsequent/followup reorgchk. Has anyone had this experience? Can you share with me what you may have found out to the the reason and if possible what are the possible solutions to correct the situation?
0
9519
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
10214
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...
0
10001
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
9042
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...
1
7540
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6780
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
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4113
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
2
3727
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.