If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > configure automatic maintenance

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-31-06, 09:57
chinatrain99 chinatrain99 is offline
Registered User
 
Join Date: Sep 2003
Posts: 73
configure automatic maintenance

I have a database on 8.2 aix that I'm doing weekly backups on. I heard about the configure automatic maintenance and I scheduled a backup, reorg, and runstats weekly. My assumption is that all this is running as a service and DB2 checks some sort of statistics prior to running. This is why I don't see it scheduled in the "task" center. Does anyone know what triggers these options to run? I'm on a test box and it may not be doing anything at the moment. I figure DB2 knows when to run reorg's and runstats, but I want the backup to run weekly...all the time! Is there a way to do this? Has anyone found any documentation on this process?
Reply With Quote
  #2 (permalink)  
Old 02-01-06, 09:17
sun4u sun4u is offline
Registered User
 
Join Date: Dec 2005
Posts: 18
DB2 uses Health Centre messages to determin when to take backup or run runstats or reorg.
Reply With Quote
  #3 (permalink)  
Old 02-01-06, 09:47
chinatrain99 chinatrain99 is offline
Registered User
 
Join Date: Sep 2003
Posts: 73
can you override the backup and force one? do you know where I can find out the criteria for the backup?
Reply With Quote
  #4 (permalink)  
Old 02-01-06, 11:13
sun4u sun4u is offline
Registered User
 
Join Date: Dec 2005
Posts: 18
AFAIK , you cannot force.

Only workaround is to fill up log space to the value specified in automatic maintenance configuration (default 10 Mb), which will trigger health centre message to take backup. Create dummy table, insert records, delete records and drop the table.
Reply With Quote
  #5 (permalink)  
Old 02-02-06, 13:29
chinatrain99 chinatrain99 is offline
Registered User
 
Join Date: Sep 2003
Posts: 73
I did a little more research and found that in version 8.2, there's an indicator, that used to be in the health monitor table, called db_backup_req. this indicator is now being updated by a service that runs. if it would have been a table, i would of tried to update it myself prior to the backup window. since it's now in a service, i decided it may not be wise to mess with it. i think i'll just continue with my weekly backups as before.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On