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

Jyothi avatar image
Jyothi asked Erick Ramirez answered

How is the delta computed in incremental backup?

How the delta is computed in incremental backup to fetch the data? Is it based on the timestamp. Especially suppose a compaction is done, then a flush is happened and then a incremental backup happened. In this case how cassandra fetches the delta.

backup
10 |1000

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

starlord avatar image
starlord answered

Hi Jyothi,

Cassandra will use timestamp comparison to determine the delta between incremental backups.

You can read more here:

https://cassandra.apache.org/doc/latest/cassandra/operating/backups.html#incremental-backups

Let us know if you have any other questions.

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.

Erick Ramirez avatar image
Erick Ramirez answered

Incremental backups in Cassandra are not the same as traditional server backups -- it is not a "delta" backup.

In Cassandra, incremental backups are continuous and ongoing. Snapshots are taken of newly created SSTables every time memtables get flushed to disk. There is no concept of delta since it continually takes place in the background every time there are new SSTables. 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.