incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Can I get all the query data back into memory?
Date Fri, 10 Jun 2011 03:26:21 GMT
On Thu, Jun 9, 2011 at 9:50 PM, Mark Kerzner <markkerzner@gmail.com> wrote:
> Hi,
> when I am issuing some query, that returns a HashMap, does the whole HashMap
> have to be in memory?

Yes.

> If so, it can easily use up all memory? Is there some
> cursor or paging provisions?

Yes, that is what all the start_key parameters are for.

But we strongly recommend using a high-level client like Hector
instead of raw Thrift.  Also see the CQL drivers:
http://www.datastax.com/dev/blog/what%E2%80%99s-new-in-cassandra-0-8-part-1-cql-the-cassandra-query-language

-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Mime
View raw message