cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-11745) Add bytes limit to queries and paging
Date Wed, 11 May 2016 09:45:13 GMT


Sylvain Lebresne commented on CASSANDRA-11745:

For completeness sake, I'll mention that there has already be some discussion about allowing
to limit pages by bytes in CASSANDRA-6492. The main difference that CASSANDRA-6492 is firstly
concerned about making it easier for user to pick a default page size even when you don't
know the average size of you rows, while this ticket is explicitly about case where row have
very varying sizes. Anyway, solving this issue would pretty much make CASSANDRA-6492 trivial,
but I'll remark that doing this properly imply changes to the intra-node protocol so we might
not be able to do it before 4.0.

I'll also remark that it is enough to only bother about paging since as a user you can always
stop reading at the first page if you so wish. 

> Add bytes limit to queries and paging
> -------------------------------------
>                 Key: CASSANDRA-11745
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Richard Low
> For some data models, values may be of very different sizes. When querying data, limit
by count doesn’t work well and leads to timeouts. It would be much better to limit by size
of the response, probably by stopping at the first row that goes above the limit. This applies
to paging too so you can safely page through such data without timeout worries.

This message was sent by Atlassian JIRA

View raw message