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: Pagination
Date Mon, 06 Dec 2010 23:05:23 GMT
Short answer: that's a bad idea; don't do it.

Long answer: you could count 10 pages of results and jump there
manually, which is what "offset 10 * page_size" is doing for you under
the hood, but that gets slow quickly as your offset grows.  Which is
why you shouldn't do it with a SQL db either.

On Mon, Dec 6, 2010 at 3:35 PM, Mark <static.void.dev@gmail.com> wrote:
> How is pagination accomplished when you dont know a start key? For example,
> how can I "jump" to page 10?
>



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

Mime
View raw message