incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Zlatanov <...@lifelogs.com>
Subject Re: Partition data - advantage and disadvantage
Date Mon, 28 Dec 2009 19:07:50 GMT
On Mon, 28 Dec 2009 11:44:27 -0700 Joe Stump <joe@joestump.net> wrote: 

JS> On Dec 28, 2009, at 11:40 AM, Ted Zlatanov wrote:

>> I can see that's a problem.  In my case, row keys represent switches in
>> production so I don't expect more than a few hundred.  An application
>> can't find out how many switches are known without enumerating the
>> keys; how would you suggest I attack the problem?

JS> If you only have a few hundred why not do a single key range query
JS> with a limit of 5000?

That makes sense, I was fixated on getting all the keys in one call.
Thanks.

Ted


Mime
View raw message