Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 70F74CA95 for ; Wed, 6 Jun 2012 12:53:09 +0000 (UTC) Received: (qmail 10631 invoked by uid 500); 6 Jun 2012 12:53:07 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 10608 invoked by uid 500); 6 Jun 2012 12:53:07 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 10598 invoked by uid 99); 6 Jun 2012 12:53:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2012 12:53:07 +0000 X-ASF-Spam-Status: No, hits=-0.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rohit2412@gmail.com designates 209.85.214.172 as permitted sender) Received: from [209.85.214.172] (HELO mail-ob0-f172.google.com) (209.85.214.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2012 12:53:02 +0000 Received: by obbeh20 with SMTP id eh20so2216230obb.31 for ; Wed, 06 Jun 2012 05:52:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=OKkSY/Kf3jx9mLthMAi1VuQmfq+pPai86/rDnpHtOzc=; b=VrV0yrPYxozp7VbnLQHG1a16fwIjiF3aPJInXUzUg8qGjEmgkdpsewIjL8puxQRwGq Jg2Dwhxu4gNZHtr2fv1PkI+GXB2lX9ArxjAwKHsAwHZScKYkRM7Nv0svs8KezfrMqoEZ /ylEvR5XyLqC9DA4hT0b9Gy+npPA4RBZH4hxIoi69HiMu0gZkcstEiylrZ/ZsGaK6EXq vMK5v8cXqLTbDp4ORsRhdsdw3nL/5vcPPaqpm120/yHzPSKHlZmDsYEdpIyA8Ed25vK2 DZyXKbh9gfnkGej9DCsQn8B8EMBzCxdRoXMiMn1hP9bk/n5PXhdo+0Jhx5pRahSy+mGy 59jA== MIME-Version: 1.0 Received: by 10.182.164.4 with SMTP id ym4mr20245395obb.69.1338987161752; Wed, 06 Jun 2012 05:52:41 -0700 (PDT) Received: by 10.76.77.73 with HTTP; Wed, 6 Jun 2012 05:52:41 -0700 (PDT) In-Reply-To: References: <0C675443-B310-4558-A350-14123D7E5286@thelastpickle.com> Date: Wed, 6 Jun 2012 18:22:41 +0530 Message-ID: Subject: Re: MeteredFlusher in system.log entries From: rohit bhatia To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi.. the link http://thelastpickle.com/2011/05/04/How-are-Memtables-measured/ mentions that "From version 0.7 onwards the worse case scenario is up to CF Count + Secondary Index Count + memtable_flush_queue_size (defaults to 4) + memtable_flush_writers (defaults to 1 per data directory) memtables in memory the JVM at once.". So it implies that for flushing, Cassandra copies the memtables content. So does this imply that writes to column families are not stopped even when it is being flushed? Thanks Rohit On Wed, Jun 6, 2012 at 9:42 AM, rohit bhatia wrote: > Hi Aaron > > Thanks for the link, I have gone through it. But this doesn't justify > nodes of exactly same config/specs differing in their flushing > frequency. > The traffic on all node is same as we are using RandomPartitioner > > Thanks > Rohit > > On Wed, Jun 6, 2012 at 12:24 AM, aaron morton w= rote: >> See the section on memtable_total_space_in_mb here >> =A0http://thelastpickle.com/2011/05/04/How-are-Memtables-measured/ >> >> Cheers >> ----------------- >> Aaron Morton >> Freelance Developer >> @aaronmorton >> http://www.thelastpickle.com >> >> On 6/06/2012, at 2:27 AM, rohit bhatia wrote: >> >> I am trying to understand the variance in flushes frequency in a 8 >> node Cassandra cluster. >> All the flushes are of the same type and initiated by MeteredFlusher.jav= a =3D> >> >> "INFO [OptionalTasks:1] 2012-06-05 06:32:05,873 MeteredFlusher.java >> (line 62) flushing high-traffic column family CFS(Keyspace=3D'Stats', >> ColumnFamily=3D'Minutewise_Channel_Stats') (estimated 501695882 bytes)" >> [taken from system.log] >> >> Number of flushes for 1 column family vary from 6 flushes per day to >> 24 flushes per day among nodes of same configuration and same >> hardware. >> Could you please throw light on the what conditions does >> MeteredFlusher use to trigger memtable flushes. >> Also how accurate is the estimated size in the above logfile entry. >> >> Regards >> Rohit Bhatia >> Software Engineer, Media.net >> >>