473,398 Members | 2,212 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,398 software developers and data experts.

about configure automatic maintenance window

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 different date? How should i
schedule the days of the week and the days of the month? Any other
thing i need to be careful about? thank you

Nov 12 '05 #1
4 3009
The current level of DB2 V8 does not yet allow for online reorg to be
selected in auto maintenace.
You can still use auto maint. but the reorg will be done offline.

Only the table will be put off line, not the db nor the tblspc.

You can schedule a maintenance window for each of online time and off line
time. As in:
On Line time from 20:00 for 6 hours
Off line time from 02:00 for 4 hours
Or whatever fits.
The GUI interface from the control center allows you to specify that. It
will also alow you todefine the days of week or month or everu other or
what...

HTH, Pierre.

--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
"db2group88" <tu*****@gmail.com> a écrit dans le message de news:
11**********************@z14g2000cwz.googlegroups. com...
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 different date? How should i
schedule the days of the week and the days of the month? Any other
thing i need to be careful about? thank you


Nov 12 '05 #2
Hello Pierre,

this tips really help, one more question, if i want it happened once a
month, how can it specify on the days of the weeks and days of the
months?

if the database size is about 3 G, how much time it would take to
reorg?

thank you

Nov 12 '05 #3
To be more specific, if i want it happens on the last Saturday of each
month, how to do it? thank you

Nov 12 '05 #4
On the Ctl. Ctr. Choose Tools--> Wizards-->Configure Auto Maintenance
Choose the Db where you want to reorg
You can only choose tables, not the whole db.
Choose Change for automation settings and next
On timing choose the offline window and select change
Specify All days of the week
Choose Days of the month and choose Only on Last Day of Month and select OK
Choose Activities and select REORG, decide if you want to notify and select
automate
Then select configure settings to choose which tables.
You'll have to complete the select statement by supplying the where clause
to isolate which schema name and /or tabname you want to reorg.

Good luck.
HTH, Pierre.
--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
"db2group88" <tu*****@gmail.com> a écrit dans le message de news:
11*********************@g49g2000cwa.googlegroups.c om...
To be more specific, if i want it happens on the last Saturday of each
month, how to do it? thank you


Nov 12 '05 #5

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

Similar topics

77
by: nospam | last post by:
Reasons for a 3-tier achitecture for the WEB? (NOTE: I said, WEB, NOT WINDOWS. DON'T shoot your mouth off if you don't understand the difference.) I hear only one reason and that's to switch a...
3
by: Gilda | last post by:
Does anyone know what entity (utility?) checks if statistics collections are required, if the Automatic RUNSTATS is enabled, in version 8.2? How often are these checks done? Thanks.
6
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...
1
by: dbuchanan | last post by:
Hello, A section in Data Sources window is mystifying to me. In the case of my code the Data Sources window shows my references to the data access layer. First here is what I see in my Data...
2
by: ladino | last post by:
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...
0
by: paul | last post by:
Hi, is there a way to configure automatic maintenance from command line ? I want to access the option shown in control center like offline periods, notify backups ... thx
1
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...
2
by: Jurgen Haan | last post by:
Hi hi... does anyone know how I can alter the maintenance window for automatic maintenance from the CLP? -R-
0
by: RG | last post by:
I have a stored procedure which is called by db2 "call ....." statement from ksh script. When running from AIX DB2 v. 9.1.3 environment, after a while the stored procedure starts to hang and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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,...
0
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...
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
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,...
0
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...

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.