incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yang <teddyyyy...@gmail.com>
Subject get_range_slices( start=null, end=null ) ??
Date Thu, 04 Aug 2011 20:59:22 GMT
our keyspace is really not that big,
about 1million rows, each about 500 bytes

but doing a get_range_slices() on the entire key range gives OOM
errors (I bumped up the -Xmx arg now, still trying, but
giving such a large chunk of data in one RPC call is still bad),  so
that leaves me the option to return the entire ks "page by page",

but the problem is that I'm using random partitioner,  so I can't cut
the ks into ranges of
0---10K
10K----20K
.......

since the token for (0) is not guaranteed to be smaller than that of (10000)



so what is the best way to do this?

Thanks
Yang

Mime
View raw message