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

Jonathan Ellis commented on CASSANDRA-5519:
-------------------------------------------

Good start, but it seems a little fragile to me if a bunch of sstables are 
suddenly warmed up.

What about this?

We could define a fixed-size memory pool, similar to what we do for memtables 
or cache, and allocate it to the sstables proportional to their hotness.  Every 
15 minutes (which seems like a lot, maybe hourly?) we recalculate and rebuild 
the summaries.  Maybe we only rebuild the ones that are X% off of where they 
should be to make it lighter-weight.  Or if we're downsampling by more than 2x 
then we can just resample what we already have in memory instead of rebuilding 
"correctly."
                
> Reduce index summary memory use for cold sstables
> -------------------------------------------------
>
>                 Key: CASSANDRA-5519
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5519
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Jonathan Ellis
>            Priority: Minor
>             Fix For: 2.0.1
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to