You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benedict (JIRA)" <ji...@apache.org> on 2015/07/13 11:28:05 UTC
[jira] [Created] (CASSANDRA-9786) Our index file seeks can be
directed to the page most likely to contain the record, and read exactly
one page
Benedict created CASSANDRA-9786:
-----------------------------------
Summary: Our index file seeks can be directed to the page most likely to contain the record, and read exactly one page
Key: CASSANDRA-9786
URL: https://issues.apache.org/jira/browse/CASSANDRA-9786
Project: Cassandra
Issue Type: Improvement
Components: Core
Reporter: Benedict
Fix For: 3.x
(Perhaps two, if it is likely to cross a page boundary).
This only works if the partitioner is hash based, but if so we can expect the keys to be uniformly distributed, so we can easily calculate the likelihood of finding it on a given page. With CASSANDRA-8931, we can also expect the data to be of a uniform size.
This will require a little bit of index file restructuring, so that each page can be read as a single unit. A follow-up ticket may then permit in-memory binary search within the page for the desired record (with variable key sizes this may be difficult, so perhaps a follow-up).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)