incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: Possibility of going OOM using get_count
Date Sun, 18 Sep 2011 22:18:12 GMT
Cool 

Thanks, A

-----------------
Aaron Morton
Freelance Cassandra Developer
@aaronmorton
http://www.thelastpickle.com

On 19/09/2011, at 9:55 AM, Jake Luciani wrote:

> This is fixed in 1.0
> https://issues.apache.org/jira/browse/CASSANDRA-2894
> 
> 
> On Sun, Sep 18, 2011 at 2:16 PM, Tharindu Mathew <mccloud35@gmail.com> wrote:
> Hi everyone,
> 
> I noticed this line in the API docs,
> The method is not O(1). It takes all the columns from disk to calculate the answer. The
only benefit of the method is that you do not need to pull all the columns over Thrift interface
to count them.
> 
> Does this mean if a row has a large number of columns calling this method might make
it go OOM?
> 
> Thanks in advance.
> 
> -- 
> Regards,
> 
> Tharindu
> 
> blog: http://mackiemathew.com/
> 
> 
> 
> 
> -- 
> http://twitter.com/tjake


Mime
View raw message