cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6492) Have server pick query page size by default
Date Thu, 16 Jul 2015 15:24:06 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-6492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14629882#comment-14629882
] 

Tyler Hobbs commented on CASSANDRA-6492:
----------------------------------------

While I do think that automatically picking the page size based on internal metrics will be
safer/better for the vast majority of users, I'll agree that there has to be _some_ way for
the user to override that in case it's drastically wrong.  I suppose that means we shouldn't
switch aggregates to an automatic page size until we can provide that option.

I also agree that ultimately, using a page size based on bytes instead of rows makes sense,
but it will require many more internal changes.  Perhaps a good first step is to add support
for automatic page size selection (by passing -1 for the page size, or something similar),
which we can internally implement using a row-based page size.  Later, we can convert the
internal page size to be byte-based. If that proves to be safe and effective, we can take
the last step of providing a bytes-based page size to users.

> Have server pick query page size by default
> -------------------------------------------
>
>                 Key: CASSANDRA-6492
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6492
>             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
(v6.3.4#6332)

Mime
View raw message