cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Coli <rc...@eventbrite.com>
Subject Re: Unexplainably large reported partition sizes
Date Fri, 04 Mar 2016 20:48:37 GMT
On Fri, Mar 4, 2016 at 5:56 AM, Tom van den Berge <tom@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

Mime
View raw message