cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aklin_81 <asdk...@gmail.com>
Subject Re: Calculating the size of rows in KBs
Date Sat, 12 Feb 2011 05:32:51 GMT
I think it does not deserialize the entire list of columns in the
row(though it is the case with subcolumns in a supercolumn). In case
of standard columns, only the blocks on the disk containing the
columns values of the columns being asked for, are read and
deserailized to get the values.

On Sat, Feb 12, 2011 at 10:51 AM, Stu Hood <stuhood@gmail.com> wrote:
>> Does it also mean that the whole row will be deserialized when a query
>> comes
>> just for one column?
> No, it does not mean that: at most column_index_size_in_kb will be read to
> read a single column, independent of where that column is in the row.
> On the other hand, with the row cache enabled, it is as if everything in the
> row is "needed", so the entire row will be read. There is talk of improving
> this limitation of the row cache:
> see https://issues.apache.org/jira/browse/CASSANDRA-1956
>
> On Fri, Feb 11, 2011 at 6:00 PM, buddhasystem <potekhin@bnl.gov> wrote:
>>
>> Does it also mean that the whole row will be deserialized when a query
>> comes
>> just for one column?
>>
>> --
>> View this message in context:
>> http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Calculating-the-size-of-rows-in-KBs-tp6011243p6017870.html
>> Sent from the cassandra-user@incubator.apache.org mailing list archive at
>> Nabble.com.
>
>

Mime
View raw message