Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Way to limit Alarm property table from growing?

Solved1.02K views16th March 2023alarm property table MySQL
2
Ryan Reuss [SLC] [DevOps Member]490 23rd July 2021 0 Comments

Hello Dojo,

(Dataminer 9.6 CU17 with MYSQL)

I had a customer that was having an issue with their alarm table being too large and they subsequently put a limit on this and now:

  • The alarms table count was 341k and table size is small <300M so no issues with size
  • However the alarm_property table was big ~10G and had a count of ~1.7M records.

The Dataminer Help gives the following information for the alarm_property table:

The properties (both general and custom) of the elements in an alarm state.

  1. Is there a reason why the alarm_property table would be so large compared to the alarms table?
  2. Is there a way to limit these alarm properties in the future?

Thank you for any insight into this table and the methods to remedy the situation!

Ryan Reuss [SLC] [DevOps Member] Selected answer as best 16th March 2023

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
3
Brent [SLC]1.57K Posted 23rd July 2021 2 Comments

Hey Ryan,

Alarm_property table gets populated based on the amount of properties that are linked to an element (either directly on the element/service, on the alarm, or as part of the viewtree,…).

For every alarmevent generated a list of these properties will be added to that event which will be written to the Alarm_property table, even if the property was empty at the time.

This means on a system where there are a number of properties defined on an element it is entirely possible for the alarm_property table to be much larger in number of rows. If these properties then have a large value then the size of the table can be huge.

In you case each alarmevent has on average 5-6 properties (which is fine), and the average size of your property is +-5.8 kb (which is on the larger end for a property).

For youe second question, the easiest way to ensure the Alarm_property table does not grow out of control is to correctly configure properties to not be included in alarm-filtering when there is no need for this. This can be done on the property with the following checkbox (disabled means it will not be saved to the database).

Do this for element/service and viewproperties.

The second way is to ensure the sanity of what is put into property-value so that they do not grow too large (we have seen systems in the past, were a script incorrectly appended the value of a property instead of replacing it).

Ryan Reuss [SLC] [DevOps Member] Selected answer as best 16th March 2023
Miguel Barquet [SLC] [DevOps Enabler] commented 28th July 2021

Brent, thanks for the explanaition. I have one more question:
We know the alarm entries are kept in the database for a fixed period of time (TTL) or until the total number of alarms reaches a predefined limit in MySQL.
However, are the entries in the alarm_property table automatically removed when the corresponding alarm is removed from the database?
If not, that could explain the huge number of entries in the alarm_properties table because the alarm entries would be removed regularly to meet the 300,000 maximum configured in MySQL while the entries in alarm_property table remain.
Please confirm what is the case.
Regards.

Brent [SLC] commented 28th July 2021

Hey Miguel;

In MySQL every row in the Alarm_property table is linked to an AlarmID. When the cleaningthread happens to clean expired alarms to keep the alarms below the defined amount, it will also attempt to delete the properties that were associated to the alarms that are deleted.

However this is a seperate query and so it is possible for alarms to be deleted and the property delete to fail. These properties will then never be deleted which can cause a cascade effect of the table growing making subsequent deletes fail.

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs