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
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
      • Learn more about 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)
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Pogram
    • DataMiner DevOps Support
    • Feature Suggestions
  • Swag Shop
  • Downloads
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Solutions
    • Deal Registration
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

DOM – Avoid duplicate instance names

96 views1 day agoDOM
4
Joey Vanhalst [SLC] [DevOps Advocate]1.89K 1 day ago 1 Comment

What is the best (and most performant) implementation to ensure there are no duplicate DOM instance names for a specific definition, taking into account that we need to support CRUD actions in bulk?

Benjamin Hodžić [SLC] [DevOps Advocate] Answered question 1 day ago
Joey Vanhalst [SLC] [DevOps Advocate] commented 1 day ago

To be more specific, let's assume there are already 100K of these instances, and 10K instances need to be created or updated.

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Benjamin Hodžić [SLC] [DevOps Advocate]1.22K Posted 1 day ago 0 Comments

Hi Joey, I’m not sure if it’s the most performant, but I created a script which is executed on DOM instance action settings – OnUpdate (if needed) and OnCreate.

There, with a simple automation script, I check if there is a duplicate name. It’s also executed for each DOM instance individually, which comes with a pitfall, though.

Because the scale of my DOM Definition is not as large as yours, I could afford fetching all DOM instances to check if the name exists.
In your case, you need a “small” caching mechanism.

I have tested a bit with a static Collection or a Set of all names in the script, and it turned out to be working fine, but creating a re-population and synchronization method (in case of process crash, DMA restart, etc.) would be like carrying water to the sea, as I have no more than 200 DOM instances. But that could work in your case.

Another idea are memory files, but I don’t know how performant would they be with the scale you’re operating with. It’s a shot in the dark.

Hope this helps even a bit.

Benjamin Hodžić [SLC] [DevOps Advocate] Edited answer 1 day ago
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