Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 927071734D for ; Thu, 30 Apr 2015 16:49:06 +0000 (UTC) Received: (qmail 74153 invoked by uid 500); 30 Apr 2015 16:49:06 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 74115 invoked by uid 500); 30 Apr 2015 16:49:06 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 74104 invoked by uid 99); 30 Apr 2015 16:49:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Apr 2015 16:49:06 +0000 Date: Thu, 30 Apr 2015 16:49:06 +0000 (UTC) From: "Moloud Shahbazi (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-9269) Huge commitlog not flushed. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-9269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Moloud Shahbazi updated CASSANDRA-9269: --------------------------------------- Priority: Trivial (was: Major) > Huge commitlog not flushed. > --------------------------- > > Key: CASSANDRA-9269 > URL: https://issues.apache.org/jira/browse/CASSANDRA-9269 > Project: Cassandra > Issue Type: Wish > Environment: ubuntu > cassandra-2.1.3 > Reporter: Moloud Shahbazi > Priority: Trivial > > I wrote at once a lot of data in several column families of keyspaceName on a single node cluster. I only read from this keyspace afterward. My issue is that size of commitlog is huge and does not shrink: > $ du -sh data/* > 7.8G data/commitlog > 7.0G data/data > 36M data/saved_caches > When I try to flush using nodetool, if i run "./bin/nodetool flush" no error occurs and no change happens in size of commit log. even when I specify keyspaceName no change happens. > Also Fot further information, the following is description of my keyspace schema, > {code} > cqlsh> describe keyspace keyspaceName; > CREATE KEYSPACE keyspaceName WITH replication = {'class': 'NetworkTopologyStrategy', 'datacenter1': '1'} AND durable_writes = true; > CREATE TABLE keyspaceName.CF0 ( > concept_id text, > chunk_id int, > json_data text, > PRIMARY KEY (concept_id, chunk_id) > ) WITH CLUSTERING ORDER BY (chunk_id ASC) > AND bloom_filter_fp_chance = 0.01 > AND caching = '{"keys":"ALL", "rows_per_partition":"NONE"}' > AND comment = '' > AND compaction = {'min_threshold': '4', 'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32'} > AND compression = {'sstable_compression': 'org.apache.cassandra.io.compress.LZ4Compressor'} > AND dclocal_read_repair_chance = 0.0 > AND default_time_to_live = 0 > AND gc_grace_seconds = 864000 > AND max_index_interval = 2048 > AND memtable_flush_period_in_ms = 0 > AND min_index_interval = 128 > AND read_repair_chance = 0.0 > AND speculative_retry = '99.0PERCENTILE'; > CREATE TABLE keyspaceName.CF1 ( > item_id text, > chunk_id int, > reviews text, > PRIMARY KEY (item_id, chunk_id) > ) WITH CLUSTERING ORDER BY (chunk_id ASC) > AND bloom_filter_fp_chance = 0.01 > AND caching = '{"keys":"ALL", "rows_per_partition":"NONE"}' > AND comment = '' > AND compaction = {'min_threshold': '4', 'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32'} > AND compression = {'sstable_compression': 'org.apache.cassandra.io.compress.LZ4Compressor'} > AND dclocal_read_repair_chance = 0.0 > AND default_time_to_live = 0 > AND gc_grace_seconds = 864000 > AND max_index_interval = 2048 > AND memtable_flush_period_in_ms = 0 > AND min_index_interval = 128 > AND read_repair_chance = 0.0 > AND speculative_retry = '99.0PERCENTILE'; > CREATE TABLE keyspaceName.CF2 ( > review_id text PRIMARY KEY, > conceptids text, > score int > ) WITH bloom_filter_fp_chance = 0.01 > AND caching = '{"keys":"ALL", "rows_per_partition":"NONE"}' > AND comment = '' > AND compaction = {'min_threshold': '4', 'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32'} > AND compression = {'sstable_compression': 'org.apache.cassandra.io.compress.LZ4Compressor'} > AND dclocal_read_repair_chance = 0.0 > AND default_time_to_live = 0 > AND gc_grace_seconds = 864000 > AND max_index_interval = 2048 > AND memtable_flush_period_in_ms = 0 > AND min_index_interval = 128 > AND read_repair_chance = 0.0 > AND speculative_retry = '99.0PERCENTILE';{code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)