On Fri, Mar 4, 2016 at 5:56 AM, Tom van den Berge <t...@drillster.com> wrote:
> Compacting large partition > drillster/subscriberstats:rqtPewK-1chi0JSO595u-Q (1,470,058,292 bytes) > > This means that this single partition is about 1.4GB large. This is much > larger that it can possibly be, because of two reasons: > 1) the partition has appr. 50K rows, each roughly 62 bytes = ~3 MB > 2) the entire table consumes appr. 500MB of disk space on the node > containing the partition (including snapshots) > > Furthermore, nodetool cfstats tells me this: > Space used (live): 253,928,111 > Space used (total): 253,928,111 > Compacted partition maximum bytes: 2,395,318,855 > The space used seem to match the actual size (excl. snapshots), but the > Compacted partition maximum bytes (2,3 GB) seems to be far higher than > possible. Does anyone know how it is possible that Cassandra reports such > unlikely sizes? > Compression is enabled by default, and compaction reports the uncompressed size. =Rob