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

Offloading to file system while database is online?

Solved2.25K views17th August 2020Cassandra database
3
Ruben Vandepitte [SLC] [DevOps Advocate]2.32K 14th August 2020 0 Comments

In case all Cassandra nodes associated with a DMA are down, database files will be offloaded to the system cache folder on disk, and will be pushed to the database once the connection becomes available again.

I wonder if there is a way to manually enable the offload while the database is up and running?

For debugging purposes, I’d like to see what exactly is being pushed to the database in terms of trend data, element data, etc…, without having to temporarily disconnect the database.

Ruben Vandepitte [SLC] [DevOps Advocate] Selected answer as best 14th August 2020

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
6
Thomas Deweer [SLC]286 Posted 14th August 2020 1 Comment

Hello Ruben,

There is the message “FileOffloadToggleRequest”, which does exactly what you need (can be sent through the SLNetClientTest tool).

However, this might not work on some versions (in the 9.6.x range). We’ve also reworked offload since RN25917, which should be in 10.0.9. This message should only be used for debugging purposes though.

Unlike MySQL, its good to note that the data is being serialized into files that can’t be read without deserializing (when on fileoffload).

Marieke Goethals [SLC] [DevOps Catalyst] Edited answer 17th August 2020
Ruben Vandepitte [SLC] [DevOps Advocate] commented 14th August 2020

Thanks Thomas. Although it looks like sending the ‘FileOffloadToggleRequest’ manually seems to be broken in 10.0.9, I believe once working it’s currently the best approach for getting insight into data sent to the db.

Note: The sqlite offload file needs to be deserialized in order to extract any useful data.

1
Ive Herreman [SLC] [DevOps Enabler]13.57K Posted 14th August 2020 2 Comments

Hi Ruben,

Not really what you asked for, but you can enable tracing on Cassandra to track history queries.

More details can be found here.

Do keep in mind that this should only be enabled temporarily, as it has a major impact on the system performance.

Ruben Vandepitte [SLC] [DevOps Advocate] Posted new comment 14th August 2020
Ruben Vandepitte [SLC] [DevOps Advocate] commented 14th August 2020

Thanks Ive. Very useful and in the end pretty much what we’re after. We’ll look into that.

Ruben Vandepitte [SLC] [DevOps Advocate] commented 14th August 2020

After further testing, it looks like enabling tracing will only trace queries made through the cqlsh prompt and DevCenter, not queries made by DataMiner.

1
Marlies Vandenberghe [SLC] [DevOps Member]2.98K Posted 14th August 2020 1 Comment

it’s indeed not possible to see which queries are running on a Cassandra database. There is however logging in SLDataGateway in case a queue starts to build up towards a certain table.
Next to that we are currently looking into creating a BPA that will be able to provide you this information

Ruben Vandepitte [SLC] [DevOps Advocate] Posted new comment 14th August 2020
Ruben Vandepitte [SLC] [DevOps Advocate] commented 14th August 2020

Thanks Marlies. It was actually a line in the SLDataGateway log file related to a build-up of element data changes that triggered us to check if there is an easy way to see what is pushed to db during a given time span.

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