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
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • 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
    • Tutorials
    • 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
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • 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
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

How does DataMiner handle Element IDs and data?

Solved1.21K views18th July 2023elements
2
Mieke Dryepondt [SLC] [DevOps Advocate]3.58K 15th June 2021 0 Comments

Would it be possible to explain how DataMiner is determining the Element ID?
When installing DataMiner the 1st element created gets ID 1. Today we are already above 16000.
Elements are frequently removed and re-created, even so, is it possible/normal that an element ID gets so big?

When an element is removed, how does DataMiner handle all the linked data? such as trend data, alarm data, ... Can a removed element affect the server with lingering data?

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 18th July 2023

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
6
Gellynck Jens [SLC]2.71K Posted 16th June 2021 3 Comments

DataMiner stores the highest Element ID in the elementid attribute of the <DataMiner> tag of C:\Skyline DataMiner\DataMiner.xml. When a new element is created it will increment that value and that will be the Element ID of the new element. I don't think it's unusual for an Element ID to hit 16000, especially when there could have been some scripting involved. On some internal test clusters, we reached Element ID 803 000. Element IDs are stored as an integer so the maximum value (2.1 billion) is unlikely to be hit.

There are some exceptions to this, for example when an element is DELT imported or migrated it will keep the original Element ID. It's important to note that the Element ID itself does not make the unique identifier for every element, it's actually the combination of DataMiner ID/Element ID. It's possible to DELT import an element with ID 1 from DataMiner 100, into DataMiner 200 where an element with ID 1 already exists.

When an element is deleted all data (including trending, alarming) should be removed. Important to note here is that on Cassandra the data will not be removed from the disk immediately, Cassandra will create a tombstone, which will then remove the data during the next compaction. DataMiner should no longer know this element though.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 18th July 2023
Mieke Dryepondt [SLC] [DevOps Advocate] commented 17th June 2021

Additional questions:

Q1) If the Element ID reached up to the maximum value, a new element ID which is added after it will be start from “1 “ again?

Q2) Or the new element ID will be created sequential by excluding existing numbers?

Gellynck Jens [SLC] commented 17th June 2021

Q1) I tried this and no it will overflow to int.MinValue (-2147483648) and go up from there again. I did notice Cube got stuck after creating the element, no RTE was created though. The element also never showed up in the surveyor. Even after a DataMiner restart the element doesn’t show up (a timeout alarm on that element did though). See logging below. So I think some places in DataMiner are not prepared for this yet.

CElement::Activate|DBG|0|** Activating element Int.MaxValue (470/2147483647)

CElement::Activate|DBG|0|** Activating element int.MaxValue+1 (470/-2147483648)

Element.xml: <Element dataMinerId="470" id="-2147483648"
DataMiner.xml: <DataMiner id="470" elementid="-2147483648"

Q2) I also tried this with elementId -1, made two elements, the first one got ID 470/0. The second one got 470/9 (the first ID that was free on my dma). So it looks like it will exclude the existing number yes.

Gellynck Jens [SLC] commented 17th June 2021

Extra note, I noticed I cannot delete the element with ID 0, an exception is thrown.

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

Recent questions

How to implement bearer token refresh? 0 Answers | 0 Votes
Web Applications exception in Cube due to invalid certificate 0 Answers | 0 Votes
Redundancy Groups and Alarming – Duplicate Alarms 0 Answers | 0 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (109) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
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

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin