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 8AFCA200BBF for ; Mon, 14 Nov 2016 09:25:02 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 898C9160B06; Mon, 14 Nov 2016 08:25:02 +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 D4917160B05 for ; Mon, 14 Nov 2016 09:25:01 +0100 (CET) Received: (qmail 20072 invoked by uid 500); 14 Nov 2016 08:25:00 -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 20062 invoked by uid 99); 14 Nov 2016 08:25:00 -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, 14 Nov 2016 08:25:00 +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 D9049C1AEC for ; Mon, 14 Nov 2016 08:24:59 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.898 X-Spam-Level: * X-Spam-Status: No, score=1.898 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=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=winguzone.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 IptoMzqlHveg for ; Mon, 14 Nov 2016 08:24:57 +0000 (UTC) Received: from sender163-mail.zoho.com (sender163-mail.zoho.com [74.201.84.163]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 86EBC5F47F for ; Mon, 14 Nov 2016 08:24:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1479111880; s=zoho; d=winguzone.com; i=vladyu@winguzone.com; h=Date:From:To:Message-Id:In-Reply-To:References:Subject:MIME-Version:Content-Type; l=2709; bh=KCeC9A7JXMbM1LGNoogu5z7YU3MXhy+JgfDeE/bJioc=; b=SuNXf44U02HCFONbPoJIbe/Lr1AnkFfosy2/uHI8e/x0jGHjE9M7GYedUUg7nd1O QzoDh9sDJwVcAEY2w4zooaPFSBXjeWSv75NUejSuKK1Cbrh1Ov3+uzm8FZ496pp53jv J/WQB64WgvyWWNHhP6FA/J0eS5zJvi3T2jPUwYBk= Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1479111880445596.8781440098909; Mon, 14 Nov 2016 00:24:40 -0800 (PST) Date: Mon, 14 Nov 2016 03:24:40 -0500 From: Vladimir Yudovin To: "user" Message-Id: <15861f02ef6.bb52f576488005.4343144528405046683@winguzone.com> In-Reply-To: <76B23E0F09982343A088AB6D02883DEB1DE530@MX201CL02.corp.emc.com> References: <76B23E0F09982343A088AB6D02883DEB1DE530@MX201CL02.corp.emc.com> Subject: Re: Some questions to updating and tombstone MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1551775_1593945569.1479111880441" X-Priority: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail archived-at: Mon, 14 Nov 2016 08:25:02 -0000 ------=_Part_1551775_1593945569.1479111880441 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Hi Boying, UPDATE write new value with new time stamp. Old value is not tombstone, but remains until compaction. gc_grace_period is not related to this. Best regards, Vladimir Yudovin, Winguzone - Hosted Cloud Cassandra Launch your cluster in minutes. ---- On Mon, 14 Nov 2016 03:02:21 -0500Lu, Boying <Boying.Lu@dell.com> wrote ---- Hi, All, Will the Cassandra generates a new tombstone when updating a column by using CQL update statement? And is there any way to get the number of tombstones of a column family since we want to void generating too many tombstones within gc_grace_period? Thanks Boying ------=_Part_1551775_1593945569.1479111880441 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =
Hi Boying,

UPDATE write new= value with new time stamp. Old value is not tombstone, but remains until c= ompaction. gc_grace_period is not related to this.

=
Best regards, Vladimir Yudovin,
Winguzone - Ho= sted Cloud Cassandra
Launch your cluster in minutes.


---= - On Mon, 14 Nov 2016 03:02:21 -0500Lu, Boying <Boying.Lu@dell.com>= ; wrote ----

Hi, All,

 

Will the Cassandra generates a new tombstone when upda= ting a column by using CQL update statement?

=  

And is there any way to get the number= of tombstones of a column family since we want to void generating

<= p class=3D"MsoNormal">too many tombstones within gc_grace_period?

 

Thanks

 

Boying


------=_Part_1551775_1593945569.1479111880441--