You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cassandra.apache.org by Ranjan Kumar <ra...@gmail.com> on 2009/09/23 13:07:58 UTC

large data insert and flushing commitlog

Hello!
we are trying to load a large volume of data and we wish to flush the
commitlog after a certain interval or after a certain no. of rows insertion.

we observed that cassandra flushes the commitlog only on startup. In our
case all our data are flushed only at cassandra restart.

Also if someone could shed some light on the use of 'FlushPeriodInMinutes'
in the storage-conf.xml it will be very useful to us. we have set the
'FlushPeriodInMinutes' to 60 yet the data flushing  takes place only on
restart not after 60 minutes.
thanks

-- 
Ranjan Kumar

Re: large data insert and flushing commitlog

Posted by Jun Rao <ju...@almaden.ibm.com>.
Yes, I saw the same problem. Filed a jira on that:
https://issues.apache.org/jira/browse/CASSANDRA-455.

Jun
IBM Almaden Research Center
K55/B1, 650 Harry Road, San Jose, CA  95120-6099

junrao@almaden.ibm.com


Ranjan Kumar <ra...@gmail.com> wrote on 09/23/2009 04:07:58 AM:

> [image removed]
>
> large data insert and flushing commitlog
>
> Ranjan Kumar
>
> to:
>
> cassandra-dev
>
> 09/23/2009 04:08 AM
>
> Please respond to cassandra-dev
>
> Hello!
> we are trying to load a large volume of data and we wish to flush the
> commitlog after a certain interval or after a certain no. of rows
insertion.
>
> we observed that cassandra flushes the commitlog only on startup. In our
> case all our data are flushed only at cassandra restart.
>
> Also if someone could shed some light on the use of
'FlushPeriodInMinutes'
> in the storage-conf.xml it will be very useful to us. we have set the
> 'FlushPeriodInMinutes' to 60 yet the data flushing  takes place only on
> restart not after 60 minutes.
> thanks
>
> --
> Ranjan Kumar