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

When is protocol table column type autoincrement still allowed?

Solved1.79K views2nd September 2020Elastic protocol
4
Mieke Dryepondt [SLC] [DevOps Advocate]3.58K 1st September 2020 0 Comments

Hello,

I learned that the column type autoincrement is not compatible with Elastic DB.
Does that mean we can never use it or only in specific cases?

Here are already 3 examples where the autoincrement type is used today.

  1. add rows via QAction:

    string rowKey = protocol.AddRowReturnKey(tablePid);
  2. add key on rows added via polling: e.g. WMI
  3. Service Overview Manager receiving alarm data via the "autoAdd" option:

If we can no longer use this, how can we achieve the same result for all the above cases?

Mieke Dryepondt [SLC] [DevOps Advocate] Selected answer as best 2nd September 2020

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
2
Laurens Moutton [SLC] [DevOps Enabler]8.74K Posted 2nd September 2020 0 Comments

To summarize the comments in the other answer:

-Autoincrement is not deprecated when used in a normal table (=not a logger table), this can still be used.
-The usage of an autoincrement in a logger table is deprecated. If an alternative for an autoincrement is still needed to have a unique PK column then the advice is to use a GUID.

The reasoning why it's considered deprecated in a logger table: It still works in MySQL and in Cassandra (single node) for now, but is not supported in Elastic. If Cassandra cluster is ever used in the background then it will also be difficult. For Cassandra single node a method has been created in the background that gets the maximum autoincrement value, this means that at startup of the element it needs to walk through all the database rows to determine this current autoincrement value, which has an impact on performance and is not advised to be used. There's also the problem that multiple elements could write to the same logger table, then it's difficult for DataMiner to determine who does the housekeeping of maintaining the PK value to be used when inserting a new row. All these reasons mentioned above lead to the decision to make it deprecated for logger tables. An elastic database logger table doesn't need an index column in DataMiner, hence there is also no need anymore to generate something unique through an autoincrement. Cassandra and MySQL logger tables still need a unique index column at this moment (a new software feature has been requested), use a GUID in that case for now.

To answer to the original 3 examples of the question: if you want to use these tables in an elastic database then autoincrement can’t be used. On the other hand, elastic doesn't need the index column, so there's no alternative needed and the column can be omitted. However, these tables are at this moment not part of elastic. The WMI table is a table that is being used for polling, not like a logger table, so it seems strange to use a WMI polling table directly as a logger table.

Marieke Goethals [SLC] [DevOps Catalyst] Edited answer 2nd September 2020
You are viewing 1 out of 2 answers, click here to view all answers.
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

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