Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9FAB1200BB9 for ; Mon, 24 Oct 2016 02:49:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9E10C160AFD; Mon, 24 Oct 2016 00:49:13 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E42C8160AFC for ; Mon, 24 Oct 2016 02:49:12 +0200 (CEST) Received: (qmail 60039 invoked by uid 500); 24 Oct 2016 00:49:10 -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 60029 invoked by uid 99); 24 Oct 2016 00:49:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Oct 2016 00:49:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 5DD2EC0111 for ; Mon, 24 Oct 2016 00:49:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.779 X-Spam-Level: * X-Spam-Status: No, score=1.779 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=instaclustr-com.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id aejaHhyaIj4K for ; Mon, 24 Oct 2016 00:49:08 +0000 (UTC) Received: from mail-qk0-f180.google.com (mail-qk0-f180.google.com [209.85.220.180]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 9A0695FADA for ; Mon, 24 Oct 2016 00:49:07 +0000 (UTC) Received: by mail-qk0-f180.google.com with SMTP id x11so8269706qka.1 for ; Sun, 23 Oct 2016 17:49:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=instaclustr-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Pm8p3B8kJTvFobUD7UzHPqjr5qpulNlF5wkqftcDFlU=; b=BkNtP7E6GYubdh/qRHKuPI2XGbaFoKtPtFjuxD+Qd57G4pIo4AqxdISvwv2XL+bTlk +r+QWFzmiJEsbmBbnKt8yRVYxxCHTSW1Cwigcnqn289x6BEiHwaeURifzX3M+Tq0gMV9 CNS762Z8NxehuUXajKAWJUKsf7j0/IzLyEyvHSyKkil51U8i297q7S/n/ZPLH5f4FBVg ld/5DJrgbigggOxw77IA+yBc0eXT4UflKMbsIQfpBfiWBAmmDuGuRlWZ2lHJagE+ORw6 lVQyJxzbBir3XM24hlpBmMCM1tktU5xOyTUHns2yKuANRBkkN7p3oCd7wllEntBCllYx 71bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Pm8p3B8kJTvFobUD7UzHPqjr5qpulNlF5wkqftcDFlU=; b=UbQnaaQA599YPH6ch1YY0np9i/mKE3RytdZtS66k43KG4WIXvO3kjq4yvUzsORdDlx 7LXrhlLZxNtBF3QbkQxUs1myLiw6Mcap//D0LeAjxYkg4x9ZqKZW8rEL6uaLbwnN7wOr W12freGgAQkZPdAVjZlUUTXFmuhkgfZqXNFKuJVdhRVf9PP3mDRhFLLAbrjKEUfN1ng1 aQp417J1LYXdNhV69fwdW6h6uRCVRyr7Cf/tjijLKnssrgxYxp3nG/d1+/c7DJH07JbV 6i1TTcMr5CDjeSZ/iU0hbChI29Itlf+LmZIXgEMwkoumFsmm8vv5QzYNjnt28pO9HNY9 3/LQ== X-Gm-Message-State: ABUngvdRA8T07nCUpN2SuIIYRC3RMc9GQXbl715sIAwcgZHPsa3Bu8B8lDjZThf7hhYy05MLR+Anu+4fJnZpQf19 X-Received: by 10.55.105.130 with SMTP id e124mr13598783qkc.278.1477270143548; Sun, 23 Oct 2016 17:49:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.149.215 with HTTP; Sun, 23 Oct 2016 17:49:03 -0700 (PDT) In-Reply-To: References: From: kurt Greaves Date: Mon, 24 Oct 2016 00:49:03 +0000 Message-ID: Subject: Re: Question about compaction strategy changes To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001a114fdde225143b053f91c22c archived-at: Mon, 24 Oct 2016 00:49:13 -0000 --001a114fdde225143b053f91c22c Content-Type: text/plain; charset=UTF-8 On 22 October 2016 at 03:37, Seth Edwards wrote: > We're using TWCS and we notice that if we make changes to the options to > the window unit or size, it seems to implicitly start recompacting all > sstables. If you increase the window unit or size you potentially increase the number of SSTable candidates for compaction inside each window, which is why you would see more compactions. If you decrease the window you shouldn't see any new compactions kicked off, however be aware that you will have SSTables covering multiple windows, so until a full cycle of your TTL passes your read queries won't benefit from the smaller window size. Kurt Greaves kurt@instaclustr.com www.instaclustr.com --001a114fdde225143b053f91c22c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= On 22 October 2016 at 03:37, Seth Edwards <seth@pubnub.com> wr= ote:
We're using TWCS and we notice t= hat if we make changes to the options to the window unit or size, it seems = to implicitly start recompacting all sstables.

=
If you increase the window unit or size you pote= ntially increase the number of SSTable candidates for compaction inside eac= h window, which is why you would see more compactions. If you decrease the = window you shouldn't see any new compactions kicked off, however be awa= re that you will have SSTables covering multiple windows, so until a full c= ycle of your TTL passes your read queries won't benefit from the smalle= r window size.

<= div class=3D"gmail_signature" data-smartmail=3D"gmail_signature">
--001a114fdde225143b053f91c22c--