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 62BB8DA6E for ; Sat, 17 Nov 2012 01:31:38 +0000 (UTC) Received: (qmail 43869 invoked by uid 500); 17 Nov 2012 01:31:36 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 43848 invoked by uid 500); 17 Nov 2012 01:31:36 -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 43836 invoked by uid 99); 17 Nov 2012 01:31:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Nov 2012 01:31:35 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hsiao.chuanheng@gmail.com designates 209.85.219.44 as permitted sender) Received: from [209.85.219.44] (HELO mail-oa0-f44.google.com) (209.85.219.44) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Nov 2012 01:31:29 +0000 Received: by mail-oa0-f44.google.com with SMTP id n5so3591964oag.31 for ; Fri, 16 Nov 2012 17:31:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=1mvcpwir96kcWmo0lLcGDfnznQhCh3T6WStO9TzpziY=; b=T05naz4gdw1lxswMR+LJcG7gao256mzWmmnYuuqkKka+iTrCQpY3nsijIys7Z0R16v oWsBUpsgJBFqQikA8ZsAlkZ0TNgbnYeGNb3A56H6kPHo8Ll/+xXiKi0UcTFhXVCXtjkM Hj2ZZSSFGzOnn7uGupR7q0Zb9vJfknRKQrJO/pSpcn+DoSOTP/Apu+X0b9FIYgD9f6kb vZJgMOZlsfO5oxmk385+a5xPx1nauqC/koJ8kBCOtwErbbUfaaEM88O345sZ+zY5zjLJ OA8MW0vU8UJqpcfn+Xkc3YvBaa1LfsMI1P73nujlt5kswPLr63/meP9lUVGIoIra0s9y 4I5Q== Received: by 10.182.152.4 with SMTP id uu4mr5314410obb.85.1353115868652; Fri, 16 Nov 2012 17:31:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.76.113.232 with HTTP; Fri, 16 Nov 2012 17:30:48 -0800 (PST) From: Chuan-Heng Hsiao Date: Sat, 17 Nov 2012 09:30:48 +0800 Message-ID: Subject: huge commitlog To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org hi Cassandra Developers, I am experiencing huge commitlog size (200+G) after inserting huge amount of data. It is a 4-node cluster with RF= 3, and currently each has 200+G commit log (so there are around 1T commit log in total) The setting of commitlog_total_space_in_mb is default. I am using 1.1.6. I did not do nodetool cleanup and nodetool flush yet, but I did nodetool repair -pr for each column family. There is 1 huge column family (around 68G in data_file_directories), and 18 mid-huge column family (around 1G in data_file_directories) and around 700 mini column family (around 10M in data_file_directories) I am wondering whether the huge commitlog size is the expected behavior or not? and how can we reduce the size of commitlog? Sincerely, Hsiao