Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 39879 invoked from network); 7 Jul 2010 15:59:24 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Jul 2010 15:59:24 -0000 Received: (qmail 76965 invoked by uid 500); 7 Jul 2010 15:59:22 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 76925 invoked by uid 500); 7 Jul 2010 15:59:22 -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 76916 invoked by uid 99); 7 Jul 2010 15:59:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jul 2010 15:59:20 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jbellis@gmail.com designates 209.85.212.172 as permitted sender) Received: from [209.85.212.172] (HELO mail-px0-f172.google.com) (209.85.212.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jul 2010 15:59:14 +0000 Received: by pxi20 with SMTP id 20so4245380pxi.31 for ; Wed, 07 Jul 2010 08:58:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=AZOVOxkesQeW9s4VTKAQEpq0Ayyz+sjxlagWbKq+OWE=; b=B5GV7cuAXv/SLtHtZbhDBBRusycjvZMqJzAVVe0YCt78E0waG4nbaiPajvv7KMtsm3 f8KnDn+MXZKw+KtAmNvXQvR+b9XRS7knKYHiKckiDFcCOF0+CUVofkGkUbiVCwIlJGvm HcP8zDseaCtFT6z8zxPeFdaaQ50PvvWShAn7Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=A+Y5XEgP3cyeAeq6z3eFeDSdHMdGcHSECvtp39RL6U0dc4GoxM3Eqptx9sRE7PknTA 75kEqFl9mxWS2tj1aaMKMkQ/wc3yWmIZ5Wc0wxqIdA2KpaSnXbFRoesHuhK9ifJ2Uq2g WYQw0fZWLd++LxjpgOEbI8RYBOdC2l+EFu/9c= Received: by 10.142.213.14 with SMTP id l14mr8402597wfg.90.1278518328219; Wed, 07 Jul 2010 08:58:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.143.28.5 with HTTP; Wed, 7 Jul 2010 08:58:28 -0700 (PDT) In-Reply-To: References: From: Jonathan Ellis Date: Wed, 7 Jul 2010 10:58:28 -0500 Message-ID: Subject: Re: Why so many commitlogs ? 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 number of memtables waiting to flush has a pretty low bound (# of data file directories in 0.6.3) did you check your log for exceptions? On Wed, Jul 7, 2010 at 10:35 AM, Anty wrote: > yes, i know. I only insert records into one CF. > > when a memtable flush complete, commitlog=A0 will check if there are some > obsolete commitlog segments. > I don't known why there are so many commitlog file out there. > is there a possibility that too many memtables is waiting for flushing, > which prevent many commitlog files from=A0 being removed. > > On Wed, Jul 7, 2010 at 10:13 PM, Jonathan Ellis wrote= : >> >> commitlogs can be removed after _all_ the CFs they have data for have >> been flushed. >> >> On Wed, Jul 7, 2010 at 5:21 AM, Anty wrote: >> > Hi:all >> > In my little cluter ,after i insert many many records into cassandra, >> > there >> > are hundreds of commit log files in commitlog log directory. >> > is it normal ? >> > I read the source code of commitlog , there shouldn't be so many >> > commitlog >> > log files . >> > any clue will be appreciate. >> > >> > -- >> > Best Regards >> > Anty Rao >> > >> >> >> >> -- >> Jonathan Ellis >> Project Chair, Apache Cassandra >> co-founder of Riptano, the source for professional Cassandra support >> http://riptano.com > > > > -- > Best Regards > Anty Rao > --=20 Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com