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

gc_grace_seconds Value in LOCAL Cassandra DB

Solved532 views19th December 2024adl2099 Cassandra DB gc_grace_seconds local db
1
Alberto De Luca [DevOps Enabler]4.58K 6th December 2024 0 Comments

Pls, Dojo – quick follow up from:

Cassandra DB: “grace seconds” default value and related custom tuning

What’s the usage of the GC_grace_seconds in DMAs with local Cassandra DB only (no Cassandra cluster)?
Still

In case the local Cassandra goes down, am I correct that data is temporarily written to a local file in the DMA and it will be transferred back to the Cassandra DB later (data failover mode of the node)?

Thanks

Alberto De Luca [DevOps Enabler] Selected answer as best 19th December 2024

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Min Thant Aung [SLC] [DevOps Advocate]685 Posted 9th December 2024 4 Comments

Hello Alberto,

The gc_grace_seconds is a configuration setting that specifies how long tombstones (markers for deleted data) should be kept before being eligible for removal by compaction. The primary purpose of this setting is to ensure that data deletions are propagated correctly on a single node or across all replica nodes before the tombstones are removed by compaction.
The usage is the same for both local Cassandra and Cassandra cluster setup.

Regarding the second question, when the local Cassandra database node goes down and DataMiner detects connectivity issues with the database, the data destined for the database will be written to Offload folder (located in “C:\Skyline DataMiner\Offload”) until the connection is restored.
If the database has recovered again and when the connection to the database is restored, DataMiner will first process the files in the offload folder and update the database at the startup. It is only once this process is complete then DMA starts up. The more data is contained in the offload folder, the longer DataMiner will take to startup.

Hope this answers your question.

Alberto De Luca [DevOps Enabler] Selected answer as best 19th December 2024
Alberto De Luca [DevOps Enabler] commented 10th December 2024

Thanks for your feedback, Min
With reference to the single node, what's the benefit of having a value that is higher than "0" for gc_grace_seconds?

I understand there is no replication, so keeping tombstones for longer serves no synchronization purpose – am I correct?

Trying to better understand as it seems the settings will change in upcoming versions of DataMiner, thus allowing admins to have a value that doesn't default to higher than "0" – is it known if the feature will distinguish between single node and Cassandra cluster?

Min Thant Aung [SLC] [DevOps Advocate] commented 11th December 2024

Hello Alberto, you are correct that a value that is higher than "0" for gc_grace_seconds does not serve a purpose in single Cassandra node.
From my side, I do not recall what is the gc_grace_seconds per table for single Cassandra with the single DMA setup.
I will update you again once I encounter the setup.

Laurens Vercruysse [SLC] [DevOps Advocate] commented 11th December 2024

Hi Alberto, Min,

I can confirm that the gc_grace seonds is the same for a single node as it is for any other configuration (i.e. 4 hours or 1 day).
For performance reasons on fast-writing databases, we should indeed set it "0" in single node configurations.

Min Thant Aung [SLC] [DevOps Advocate] commented 17th December 2024

Thank you Laurens for the update.

1
Laurens Vercruysse [SLC] [DevOps Advocate]346 Posted 17th December 2024 0 Comments

Maybe an interesting additional note to the previous response thread: for Cassandra single, the user can change the gc_grace_seconds value if he so desires without DataMiner overwriting it. For a dedicated clustered storage (Cassandra cluster) we have now created a software change that allows DataMiner users to do the same (though we do not yet know in which version it will be released).

Laurens Vercruysse [SLC] [DevOps Advocate] Answered question 17th December 2024
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