incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Coli <rc...@digg.com>
Subject Re: when do snapshots go away?
Date Tue, 08 Mar 2011 17:22:48 GMT
On Tue, Mar 8, 2011 at 1:25 AM, Sylvain Lebresne <sylvain@datastax.com> wrote:
> And it's far easier for you to know what to do with the snapshot
> (whether that is deleting it or archiving it somewhere) than for the
> application.

Snapshots also have the neat property of not being the full size of
your corpus unless you are always major compacting, because they are
hard links. This can be confusing if you use "du" to check the sizes
of your snapshots to see if they're consistent, because du only counts
disk usage the first time it sees a hard link. It is somewhat
counter-intuitive that snapshots effectively get larger over time as
they become the only copy of that version of the sstable on disk, when
the "original" sstable is deleted via compaction.

=Rob

Mime
View raw message