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 803CE114C3 for ; Wed, 7 May 2014 20:10:27 +0000 (UTC) Received: (qmail 24204 invoked by uid 500); 7 May 2014 19:07:50 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 7874 invoked by uid 500); 7 May 2014 18:41:42 -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 2538 invoked by uid 99); 7 May 2014 07:42:41 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 May 2014 07:42:41 +0000 Date: Wed, 7 May 2014 07:42:41 +0000 (UTC) From: "Jianwei Zhang (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-7184) improvement of SizeTieredCompaction 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-7184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jianwei Zhang updated CASSANDRA-7184: ------------------------------------- Description: 1, In our usage scenario, there is no duplicated insert and no delete . The data increased all the time, and some big sstables are generated (100GB for example). we don't want these sstables to participate in the SizeTieredCompaction any more. so we add a max threshold which is set to 100GB . Sstables larger than the threshold will not be compacted. Can this strategy be added to the trunk ? 2, In our usage scenario, maybe hundreds of sstable need to be compacted in a Major Compaction. The total size would be larger to 5TB. So during the compaction, when the size writed reach to a configed threshhold(200GB for example), it switch to write a new sstable. In this way, we avoid to generate too huge sstables. Too huge sstable have some bad infuence: (1) It will be larger than the capacity of a disk; (2) If the sstable is corrupt, lots of objects will be influenced . Can this strategy be added to the trunk ? was: 1, In our usage scenario, there is no duplicated insert and no delete . The data increased all the time, and some huge sstables generate (100GB for example). we don't want these sstables to participate in the SizeTieredCompaction any more. so we add a max threshold which we set to 100GB . Sstables larger than the threshold will not be compacted. Can this strategy be added to the trunk ? 2, In our usage scenario, maybe hundreds of sstable need to be compacted in a Major Compaction. The total size would be larger to 5TB. So during the compaction, when the size writed reach to a configed threshhold(200GB for example), it switch to write a new sstable. In this way, we avoid to generate too huge sstables. Too huge sstable have some bad infuence: (1) It will be larger than the capacity of a disk; (2) If the sstable is corrupt, lots of objects will be influenced . Can this strategy be added to the trunk ? > improvement of SizeTieredCompaction > ------------------------------------- > > Key: CASSANDRA-7184 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7184 > Project: Cassandra > Issue Type: Improvement > Components: Core > Reporter: Jianwei Zhang > Assignee: Jianwei Zhang > Priority: Minor > Labels: compaction > Original Estimate: 48h > Remaining Estimate: 48h > > 1, In our usage scenario, there is no duplicated insert and no delete . The data increased all the time, and some big sstables are generated (100GB for example). we don't want these sstables to participate in the SizeTieredCompaction any more. so we add a max threshold which is set to 100GB . Sstables larger than the threshold will not be compacted. Can this strategy be added to the trunk ? > 2, In our usage scenario, maybe hundreds of sstable need to be compacted in a Major Compaction. The total size would be larger to 5TB. So during the compaction, when the size writed reach to a configed threshhold(200GB for example), it switch to write a new sstable. In this way, we avoid to generate too huge sstables. Too huge sstable have some bad infuence: > (1) It will be larger than the capacity of a disk; > (2) If the sstable is corrupt, lots of objects will be influenced . > Can this strategy be added to the trunk ? -- This message was sent by Atlassian JIRA (v6.2#6252)