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

Advice on Cassandra keyspaces (creation and deletion of elements)

Solved535 views20th December 2023Cassandra DB
4
Bing Herng Chong [SLC] [DevOps Advocate]1.06K 19th December 2023 0 Comments

Hi Dojo,

We need some advice on Cassandra keyspaces. Some 1600 elements were created (via SRM, PA and IDP) on a DMS and the following keyspaces with the prefix ‘sldmadb_elementdata_’ were observed (see screenshot further below).

The number of elements appears to be too much for the DMS (due to server resourcing) so a decision was made to delete all the elements to redistribute them.

However, upon deletion of all elements, it is observed that there are still about ~750+ keyspaces with ‘sldmadb_elementdata_’ prefix still in Cassandra.

  1. Can you please advice what these keyspaces are for?
  2. If they are associated 1:1 with each element, then should these keyspaces be deleted when the corresponding element is deleted?
  3. If the first two digits of the keyspace represents DMAID and EID, then I can confirm that many of these elements no longer exists on the DMA. Is it safe to manually delete them or is there a way for DMA to clean up the keyspaces automatically?
  4. Is there any harm in leaving these keyspaces undeleted?

Bing Herng Chong [SLC] [DevOps Advocate] Selected answer as best 20th December 2023

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Michiel Saelen [SLC] [DevOps Enabler]5.63K Posted 20th December 2023 1 Comment

Hi Bing,
These tables/keyspaces are created for elements that make use of logger tables. I would advise to use logger tables only when needed. Normally a DB table will be created for every table that uses this option, so you could have multiple tables per element. I’m not 100% sure what the expected behavior is on deleting the element, but it would seem logical that the DB is cleaned up after deleting the element, so I would raise it as a bug. It is indeed [DMAID]_[ELID]_[TableID], so if the element no longer exists, you can delete the table from the DB as it will no longer be used. There is no real harm in keeping tables that are no longer needed. However, there is an overhead (MEM/CPU) in Cassandra for every table that exists. The general rule is to keep the number of tables below 200 in every Cassandra cluster to avoid performance issues.

Bing Herng Chong [SLC] [DevOps Advocate] Selected answer as best 20th December 2023
Bing Herng Chong [SLC] [DevOps Advocate] commented 20th December 2023

Thank you Michiel for the insight!

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