cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-6492) Have server pick query page size by default
Date Thu, 16 Jul 2015 15:43:05 GMT


Sylvain Lebresne commented on CASSANDRA-6492:

bq. but it will require many more internal changes

To be clear, I wasn't suggesting we change all the internal paging to use bytes. Just that
we add the option to the native protocol so we can pass the page size either in number of
rows, or as a target size in bytes, and that in the later case we'd use the internal metrics
to translate that target into a number of rows. We'd be obviously upfront that the when the
page size is passed in bytes, it's just a rough target rather than a guarantee size.

We can obviously later change all the internal to make that later option more precise, but
it's totally way more long term.

> Have server pick query page size by default
> -------------------------------------------
>                 Key: CASSANDRA-6492
>                 URL:
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: API
>            Reporter: Jonathan Ellis
>            Assignee: Benjamin Lerer
>            Priority: Minor
> We're almost always going to do a better job picking a page size based on sstable stats,
than users will guesstimating.

This message was sent by Atlassian JIRA

View raw message