cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-1966) Option to control how many items are read on cache load
Date Wed, 25 May 2011 15:40:47 GMT


Jonathan Ellis updated CASSANDRA-1966:

    Priority: Minor  (was: Major)

We're upgraded to CLHM 1.2 on trunk now.

I'm still not super excited about this -- if you can get 90% of the benefit from 10% of your
cache, most people should set their cache to that size in the first place -- but if someone
wants it badly enough to write a patch, I'll review it.

> Option to control how many items are read on cache load
> -------------------------------------------------------
>                 Key: CASSANDRA-1966
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Chris Burroughs
>            Priority: Minor
> CASSANDRA-1417 added an option to save the key and/or row cache keys which is cool. 
However, for a row large cache it can take a long time to read all of the rows.  For example
I have a 400,000 item row cache, and loading that on restart takes a little under an hour.
> In addition to configuring the size of the row cache, and how often it should be saved
to disk, I propose an option to control how many items are loaded on startup (or alternately
only saving n items out of the full row cache to begin with).

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message