473,616 Members | 2,973 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Automatic Runstats

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"....

I dont get any email notification from DB2 after an automatic runstats
has been run. I know that DB2 has run runstats because I can see it in
the db2diag.log but I dont receive an email. Should I be receiving an
email notification for this?

Thanks a lot in advance !!

Nov 12 '05 #1
1 7646
ra***@yahoo.co. uk wrote:
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"....

I dont get any email notification from DB2 after an automatic runstats has been run. I know that DB2 has run runstats because I can see it in the db2diag.log but I dont receive an email. Should I be receiving an
email notification for this? It matters what are the db cfg parameters set to. If AUTO_MAINT,
AUTO_TBL_MAINT and AUTO_RUNSTATS are ON, then DB2 runs RUNSTATS and you
will receive email notifications only if for some reason DB2 was not
able to complete RUNSTATS successfully.

If the db cfg parameters are OFF (at least one of them is OFF), then
DB2 is not running RUNSTATS, but it still checks whether the tables
need RUNSTATS and it sets the Health Indicator (HI) accordingly. The HI
is at database level, so you are supposed to receive a single email
when it goes into alert state.

Because of a bug, DB2 does not send email notifications for Automatic
Table Maintenance (AutoRunstats and AutoReorg) in 8.2. It will be fixed
in an upcoming fixpak.

Regards,
Ivan

Thanks a lot in advance !!


Nov 12 '05 #2

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

Similar topics

7
7389
by: Todd McNeill | last post by:
Hi- Something was just pointed out to me this morning. According to the V8 Command Reference, the RUNSTATS command no longer uses the SHRLEVEL CHANGE/REFERENCE clauses, and it looks to be replaced with ALLOW READ/WRITE ACCESS. Is SHRLEVEL still a valid clause and interchangable with ALLOW..., or has it been deprecated and is it, or will it eventually become, invalid? We currently are not seeing any errors using SHRLEVEL in our...
3
3786
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
5471
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
4
3028
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...
2
4073
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 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...
4
3311
by: kenfar | last post by:
I've got a large table on db2 8.2.1 that I rarely perform runstats on. It has about 600 million rows organized in a single MDC time dimension on a non-dpf warehouse. Anyhow, we recently ran runstats on it with a 20% sampling. After this was performed the highly selective queries using the time dimension slowed down drastically (8000% increase in duration). Earlier today I marked the table 'volatile' and queries went back to normal. ...
1
4034
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
0
922
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 snapshot says it is on fetch statement. The job of the stored procedure is to loop through the cursor executing ddl command found in one of the columns and updating the table which is cursored. It is using handler and hold options.
4
6004
by: db2udb | last post by:
Hi, I have just taken over as the DBA for a database that has not had any reorgs/runstats run against it for the last three years. As a first step, I have just run reorg/runstats against the system catalog tables & rebound packages. I next intend to reorg/runstats all the application tables that I have identified as needing this and due to the remote possibility of this causing an adverse affect on performance, it has been decided that I...
3
4371
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
0
8203
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8647
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8297
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6097
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
4063
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4141
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2579
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
1
1759
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1445
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.