cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: regarding space taken by different column families in Cassandra
Date Thu, 10 Feb 2011 08:44:40 GMT
Total size includes SSTables that have been compacted, but have yet to be deleted from disk.
Live space is only the space used by SSTables that are still in use. 

You second set of numbers looks like minor compaction has done it's job and the unused space
has been reclaimed. 

Hope that helps. 
Aaron
 
On 9 Feb 2011, at 22:49, abhinav prakash rai wrote:

> After 1 hour ,from the application was done, the size of data folder become 14 GB and
the result of cfstats is matching with this number (and Space used (live) become equal to
Space used (total) ).
> 
> CF1-    Space used (live)  :    7196278850
>                Space used (total):     7196278850
> CF2-       Space used (live)  :    2458866899
>                Space used (total):     2458866899
> CF3-       Space used (live)  :    2871096369
>                Space used (total) :    2967445550
> CF4-       Space used (live)  :    1536044466
>                Space used (total) :    1536044466
> 
> After the application was done what kind operation was going on in Cassandra and how
much space it would require ?
> 
> regards,
> abhinav
> 
>   
> 
> 
> 
> 
> On Wed, Feb 9, 2011 at 12:46 PM, abhinav prakash rai <abhinav.isi@gmail.com> wrote:
> I am using 4 column family in my application , the result of cfstats for space taken
by different CF are as below-
> 
> CF1-    Space used (live)  :    7196159547
>                Space used (total):     14214373706
> CF2-       Space used (live)  :    2456495851
>                Space used (total):     9065746112
> 
> CF3-       Space used (live)  :    2864007861
> 
>                Space used (total) :    6114084611
> 
> CF4-       Space used (live)  :    1531088094
> 
>                Space used (total) :    3433016989
> 
> where as I can see the total size of data directory is 17GB which is not equal to ALL
Space used (total) by above 4 column families. If I assume Space used (total) is in byte the
sum is coming to about 32 GB which is not the space taken by data_file_directories.
> 
> Some one can help to know how much space is used by each CF's ?
> 
> I am using replication_factor= 1.
> 
> Regards,
> abhinav
> 
> 
> 
> 
> -- 
> Regards,
> Abhinav P. Rai
> 


Mime
View raw message