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

string values on a table are truncated

Solved1.39K views12th January 2023LengthType MySQL parameter measurement type
0
MiguelGU Guevara [SLC]10 2nd February 2022 2 Comments

When adding a new row to a table with retrieved columns, the value of the Request Data column is being truncated. We believe that the actual message data that gets put into the Request Data parameter and database field for these message has exceeded the size limit.

In the database cell editor it shows the message size is 65535 bytes. MySQL documentation states that text data type has a max length of 65535.
The parameter Request Data is just a string saved parameter with length Type = “next param”.

DataMiner is a 9.6 with a MySQL database.

Is the limit of a string parameter in a table equals 65535 bytes?
if not, what determines the limit in this case?
Or is it always going to find memory no matter how big the string is and the problem might be somewhere else?

Please and thank you!

Thijs Vanovenacker [SLC] [DevOps Advocate] Selected answer as best 12th January 2023
Davy Degrande [SLC] [DevOps Advocate] commented 7th February 2022

DataMiner itself normally doesn’t truncate, you could mark the table as volatile and remove the save option to verify it’s not data from the database but run-time data polled from the device. I’m not sure where you double check if this data is truncated? The data in the streamviewer will for instance be displayed as truncated with … but the parameter will actually contain the entire response.

Jeff Douglass commented 7th February 2022

The parameter/data in question is internally generated by Dataminer protocol code, it is not received from an actual device. The data point/table based parameter is used to pass messaged between different elements in Dataminer and the table is a saved parameter so unprocessed messages are retained across a system restart. In this case the protocol in question is creating a message that exceeds the size limit of the MySQL database table field type and when the protocol reads the message from the database it is no longer a valid message due to it being truncated by MySQL.

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Davy Degrande [SLC] [DevOps Advocate]1.43K Posted 8th February 2022 0 Comments

The actual data limit is indeed here the database field. Since on MySQL it is of type TEXT the size comes down to 65535 bytes.
Some notes depending if your protocol is flagged as a unicode protocol the amount stored will be halved.

Thijs Vanovenacker [SLC] [DevOps Advocate] Selected answer as best 12th January 2023
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