incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Forcing Cassandra to free up some space
Date Thu, 26 May 2011 18:50:52 GMT
You'd have to call system.gc via JMX.

https://issues.apache.org/jira/browse/CASSANDRA-2521 is open to
address this, btw.

On Thu, May 26, 2011 at 1:09 PM, Konstantin  Naryshkin
<konstantinn@a-bb.net> wrote:
> I have a basic understanding of how Cassandra handles the file system
> (flushes in Memtables out to SSTables, SSTables get compacted) and I
> understand that old files are only deleted when a node is restarted, when
> Java does a GC, or when Cassandra feels like it is running out of space.
>
> My question is, is there some way for us to hurry the process along? We have
> a data that we do a lot of inserts into and then delete the data several
> hours later. We would like it if we could free up disk space (since our
> disks, though large, are shared with other applications). So far, the action
> sequence to accomplish this is:
> nodetoo flush -> nodetool repair -> nodetool compact -> ??
>
> Is there a way for me to make (or even gently suggest to) Cassandra that it
> may be a good time to free up some space?
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Mime
View raw message