We recently had a Production application fail because a Db2 sequence object reached the end of its range unexpectedly. This caused our web users to be unable to logon for a short period of time.
DBAs are implementing external tooling to monitor sequence objects and alert for end-of-range conditions, but management is also asking whether an Operations alerting capacity exists.
I would like to see sequence objects able to send alerts to the Db2 MSTR log when they are in danger of reaching the top-end of their range, so DBAs can be alerted to investigate and confer with application groups.
This would provide us with an "early warning" when an out-of-values condition is about to emerge and allow us to act proactively.
|Who would benefit from this IDEA?||Our customers would benefit from our ability to respond to outages before they happened, and our DBAs and application developers would be able to avoid outages for this reason.|
How should it work?
Because sequence object range is specific to app and database design, I would suggest that DBAs/data architects be able to specify, when creating a sequence object, a "warning value", where Db2 would alert when the sequence object reaches this value. A SQL clause along the lines of "WARNING WHEN 9000" or "WARNING WHEN 90%" for a sequence object providing values from 1 to 9999, for example.
A default percentage could be specified as well via a ZPARM, or the feature could be disabled completely.
When a sequence object reached that range, a message could be propagated to the MSTR SYSLOG, that could then be responded to by DBAs or Operations staff.
|Priority Justification||An idea for consideration..."how soon" was arbitrarily selected.|
|Client Name||US Social Security Admin|
|IBM's success depends on gathering feedback from customers like yourself. Aha Ideas Portal is the third party tool through which IBM Offering Managers gather feedback from customers such as yourself.|
|IBM is a global organization with business processes, management structures, technical systems and service provider networks that cross borders. As such, the information collected through Aha Ideas Portal (Customer Name, Customer Email Address) will be stored by them in the United States, and handled only as per IBM's instructions and policies. Your data (Name and Email Address) will NOT be shared with other IBM customers.|
|In order to safeguard your information in Aha, do not leave your workstation unattended while using this application, log off after using it, and print only if necessary. If you need to make a hardcopy, remember to pick up the print-out immediately, keep it under lock, and destroy it immediately when no longer needed.|
|NOTICE TO EU RESIDENTS: per EU Data Protection Policy, if you wish to remove your personal information from the IBM ideas portal, please login to the ideas portal using your previously registered information then change your email to "firstname.lastname@example.org" and first name to "anonymous" and last name to "anonymous". This will ensure that IBM will not send any emails to you about all idea submissions|