cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <>
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 <> wrote:
> Hi,
> when I am issuing some query, that returns a HashMap, does the whole HashMap
> have to be in memory?


> 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:

Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support

View raw message