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 6A61F200D23 for ; Thu, 5 Oct 2017 08:14:20 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 68BEF160BD7; Thu, 5 Oct 2017 06:14:20 +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 AC77F1609DD for ; Thu, 5 Oct 2017 08:14:19 +0200 (CEST) Received: (qmail 98341 invoked by uid 500); 5 Oct 2017 06:14:17 -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 98330 invoked by uid 99); 5 Oct 2017 06:14:16 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Oct 2017 06:14:16 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 08086180ABE for ; Thu, 5 Oct 2017 06:14:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.401 X-Spam-Level: X-Spam-Status: No, score=-0.401 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 0k6dVlV8gzon for ; Thu, 5 Oct 2017 06:14:13 +0000 (UTC) Received: from mail-oi0-f47.google.com (mail-oi0-f47.google.com [209.85.218.47]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 951325F566 for ; Thu, 5 Oct 2017 06:14:13 +0000 (UTC) Received: by mail-oi0-f47.google.com with SMTP id g125so5586274oib.12 for ; Wed, 04 Oct 2017 23:14:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=ovQhDBse4mKywU4nC49jgxq9+W9VLiSebFDNKEPYuEM=; b=caQrGyTDBAZuOYDcIvdVF/stzaHOIy7eE92NXqM94VXB/Tnbj4xRAwCd9bIsX9nzGu y7EOCZIS9pFfFpLiVBGFMu+d8s4UV50jy4aZ4+D2PLrSbLuJzPPNQkzYgIUMPhPgNzvL CJddSul/qKS5E1WDMxmLZgF0uK8xqwwzaVMjPtr2TTKcmefDNOTYrDUiMNqUCpgLXNsk M5YiRMpr1uqRkrHyBlzlqlfoWxURAam+oMYV6DTOXKw3GYSe7bzJVy7AI2d7VVlCaJjx 204dRPtdAGYdBkFS5GnowQpRihO3wvYa0pR8SKmud2Wqh/7mL5zZlUfw6YtUJjFGWvtt i34g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=ovQhDBse4mKywU4nC49jgxq9+W9VLiSebFDNKEPYuEM=; b=ufecYx5i2mvcPd9MGxOevDqh37RGK7kkUqOirwQLJghk8zpDGJXuMonr/YViw6kBfk xkeo4iN9Bs00SOLwuwdbv/qmkIvcpdVBgn/0goE+9FFZzGCW3RONYfEjQtVfzmRRpjfs BNnbpOCIhHjGDe/aMuk4LGdQcOy6kQwtWghN2nBWeyCaogvne8BiPLG+T3vy1ZYzlLhw sx5zCWLkfWSucGvZd8SXL8OxHnz5EiD2o9nba5KyRDehVSaw0ExcxA8u2WpSOECPS7nd 64xhSUndLcS94hhKlQ9xvDke5UrPpPSnKM6iJIUSB293+IAa/At88QOOK/hUT8Haz3DL bEPQ== X-Gm-Message-State: AMCzsaWbNRm3/Q1jtES44tObYknxmXFQt4J1yVklHhRrVzWTCKVlNFBN qzRrbB4krPjWENfZXVQOZL7I/yYpWvJ/4ddyhCRIKg== X-Google-Smtp-Source: AOwi7QBTB9hXWXKc6FTy5FBD58B2dAjzvNUdB+V599H5P3jBEguY8u8LuT457+sJaYnmKWeLstMAax3RuTBJL0iY8O8= X-Received: by 10.157.35.245 with SMTP id t108mr9854744otb.110.1507184052762; Wed, 04 Oct 2017 23:14:12 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?Q?G=C3=A1bor_Auth?= Date: Thu, 05 Oct 2017 06:14:02 +0000 Message-ID: Subject: Re: Alter table gc_grace_seconds To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary="001a11492534137c12055ac6a2a2" archived-at: Thu, 05 Oct 2017 06:14:20 -0000 --001a11492534137c12055ac6a2a2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On Wed, Oct 4, 2017 at 8:39 AM Oleksandr Shulgin < oleksandr.shulgin@zalando.de> wrote: > If you have migrated ALL the data from the old CF, you could just use > TRUNCATE or DROP TABLE, followed by "nodetool clearsnapshot" to reclaim t= he > disk space (this step has to be done per-node). > Unfortunately not all the data migrated, but to CFs came from one CF: "only" the 80% for data migrated to another CF. At the moment, the compaction works with: compaction =3D {'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32', 'min_threshold': '2'} AND gc_grace_seconds =3D 17280= 0 But I don't know why it did not work and why it works now... :) Bye, Auth G=C3=A1bor --001a11492534137c12055ac6a2a2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

On = Wed, Oct 4, 2017 at 8:39 AM Oleksandr Shulgin <oleksandr.shulgin@zalando.de> wrote:
If you have migrated ALL the data from the old= CF, you could just use TRUNCATE or DROP TABLE, followed by "nodetool = clearsnapshot" to reclaim the disk space (this step has to be done per= -node).=C2=A0

Unfor= tunately not all the data migrated, but to CFs came from one CF: "only= " the 80% for data migrated to another CF.

At= the moment, the compaction works with:
compaction =3D {'class': 'org.apache.cassandra.db.= compaction.SizeTieredCompactionStrategy', 'max_threshold': '= ;32', 'min_threshold': '2'}=C2=A0AND gc_grace_seconds = =3D 172800

But I don't know why it = did not work and why it works now... :)

Bye,
=
Auth G=C3=A1bor

--001a11492534137c12055ac6a2a2--