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

What is the best way to delete old keyspaces in Cassandra?

Solved681 views29th June 2023
0
Bruno Sousa [DevOps Member]669 19th June 2023 0 Comments

Hello,

What is the way you recommend to delete old keyspaces?

Can we do it via DataStax?

Thank you.

Best regards

Bruno Sousa

Robin Devos [SLC] [DevOps Advocate] Selected answer as best 29th June 2023

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
0
Robin Devos [SLC] [DevOps Advocate]2.46K Posted 20th June 2023 1 Comment

Hi Bruno

I would just recommend to double check that you are certain that your DataMiner Agent won’t be affected (i.e. it’s truly an old keyspace).

You can verify this by going to the DM agent > System Center > Database, there you’ll find the used keyspace.
Alternatively, you can check C:/Skyline DataMiner/Db.xml on the DM Server. The xml will refer to the cassandra DB and the <DB> tag indicates the used keyspace.

Arunkrishna already pointed you towards the CQL version, which is plain and simple:

DROP KEYSPACE <keyspace_name>

But in DevStax, you can also use the GUI:

So bottom-line is really to be certain that the keyspace isn’t used anymore.

Robin Devos [SLC] [DevOps Advocate] Selected answer as best 29th June 2023
Michiel Saelen [SLC] [DevOps Enabler] commented 21st June 2023

Keep in mind that depending if you have auto_snapshot enabled that you might need to run ‘nodetool clearsnapshot’ to get back your disk space.

0
Arunkrishna Shreeder [SLC] [DevOps Advocate]4.03K Posted 19th June 2023 0 Comments

Yes, you can run the following on DevCenter :
https://docs.datastax.com/en/cql-oss/3.3/cql/cql_reference/cqlDropKeyspace.html

Arunkrishna Shreeder [SLC] [DevOps Advocate] Answered question 19th June 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