cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Coli <rc...@eventbrite.com>
Subject Re: I don't understand paging through a table by primary key.
Date Fri, 30 May 2014 17:06:48 GMT
On Thu, May 29, 2014 at 10:10 PM, Kevin Burton <burton@spinn3r.com> wrote:
>
> I'd like to efficiently page through a table via primary key.
>
> This way I only involve one node at a time and the reads on disk are
>

This is only true if you use an Ordered Partitioner, which almost no one
does?


> I would have assumed it was a combination of > pk and order by but that
> doesn't seem to work.
>

http://wiki.apache.org/cassandra/FAQ#iter_world

I don't personally use 2.0 at this time, so I have no idea how good or bad
the answer from this FAQ is.

There are also ways to iter world in thrift. Here's the pre-CQL FAQ page :

http://wiki.apache.org/cassandra/FAQ?action=recall&rev=148#iter_world

=Rob

Mime
View raw message