cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ayub M <hia...@gmail.com>
Subject Re: average row size in a cassandra table
Date Wed, 18 Dec 2019 19:47:13 GMT
Perfect, thank you.

On Thu, Dec 12, 2019 at 9:40 AM Raney, Michael <mjraney@amazon.com.invalid>
wrote:

> For rough estimate, I’ve seen the following pattern.
>
>
>
> Sudo code
>
> Do queries by token range at random.
>
>
>
> Select asjson * from table;
>
>
>
> Take the length of json string of each row.
>
>
>
> Perform average.
>
>
>
> Cheers.
>
>
>
> *From: *Ayub M <hiayub@gmail.com>
> *Reply-To: *"user@cassandra.apache.org" <user@cassandra.apache.org>
> *Date: *Wednesday, December 11, 2019 at 11:17 PM
> *To: *"user@cassandra.apache.org" <user@cassandra.apache.org>
> *Subject: *average row size in a cassandra table
>
>
>
> How to find average row size of a table in cassandra? I am not looking for
> partition size (which can be found from nodetool tablehistograms), since a
> partition can have many rows. I am looking for row size.
>


-- 
Regards,
Ayub

Mime
View raw message