incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Héctor Izquierdo Seliva <izquie...@strands.com>
Subject Re: How to warm up a cold node
Date Fri, 15 Apr 2011 14:25:11 GMT
How difficult do you think this could be? I would be interested into
developing this if it's feasible.

El vie, 15-04-2011 a las 16:19 +0200, Peter Schuller escribió:
> > Hi everyone, is there any recommended procedure to warm up a node before
> > bringing it up?
> 
> Currently the only out-of-the-box support for warming up caches is
> that implied by the key cache and row cache, which will pre-heat on
> start-up. Indexes will be indirectly preheated by index sampling, to
> the extent that they operating system retains them in page cache.
> 
> If you're wanting to pre-heat sstables there's currently no way to do
> that (but it's a useful feature to have). Pragmatically, you can
> script something that e.g. does "cat path/to/keyspace/* > /dev/null"
> or similar. But that only works if the total database size fits
> reasonably well in page cache.
> 
> Pre-heating sstables on a per-cf basis on start-up would be a nice
> feature to have.
> 



Mime
View raw message