Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

praveenkg avatar image
praveenkg asked Erick Ramirez answered

How can on-demand compaction be triggered on Astra DB?

I am looking into the AstraDB and wanted to know how can we initiate the compaction on regular basis? Can we use nodetool for manual compaction? or Astra provides any hooks to initiate the process.

astra db
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered

It is not possible to manually trigger compactions on Astra databases.

Astra DB is serverless and fully-managed DB-as-a-service. There is no option for users to run any operational commands like nodetool compact.

Could you tell me more about your use case? We might be able to achieve the same outcome you're after if we have a bit more information. Cheers!

Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.