Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 096019810 for ; Fri, 17 Feb 2012 13:56:17 +0000 (UTC) Received: (qmail 17691 invoked by uid 500); 17 Feb 2012 13:56:14 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 17668 invoked by uid 500); 17 Feb 2012 13:56:14 -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 17659 invoked by uid 99); 17 Feb 2012 13:56:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Feb 2012 13:56:14 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 209.85.214.44 as permitted sender) Received: from [209.85.214.44] (HELO mail-bk0-f44.google.com) (209.85.214.44) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Feb 2012 13:56:10 +0000 Received: by bkuw12 with SMTP id w12so3431273bku.31 for ; Fri, 17 Feb 2012 05:55:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=tAesBAOzbpeyrvfhL9YbmDpP2N94t+vruyRdUPGfrzA=; b=cjdYZy5DQgpZNbSg34CPpZIxVTgv8zehhURms7DQA5P5SkEkrr7IaEoIdtdu+IgzsE 2s0rgYNgloMG9lmsBV8XzpuQRfEsvflPwGSHzmHLJR/E+vFXTXPigVENld9Ykzg9Tol0 oKBvG6d52ds9mR0Z0gCW3qJbHbligu8a37BqE= Received: by 10.204.10.73 with SMTP id o9mr4118319bko.99.1329486949188; Fri, 17 Feb 2012 05:55:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.180.84 with HTTP; Fri, 17 Feb 2012 05:55:29 -0800 (PST) In-Reply-To: References: From: Jonathan Ellis Date: Fri, 17 Feb 2012 07:55:29 -0600 Message-ID: Subject: Re: deleting rows and tombstones To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Deleting the entire row at once only creates a row-level tombstone. This is almost free. "Tombstone buildup" happens when performing column-level deletes, then inserting more (different) columns. The classic example is modeling a queue in a row. On Tue, Feb 14, 2012 at 1:54 PM, Todd Burruss wrote: > my design calls for deleting a row (by key, not individual columns) and > re-inserting it a lot and I'm concerned about tombstone build up slowing > down reads. =A0I know if I delete a lot of individual columns the tombsto= nes > will build up and slow down reads until they are cleaned up, but not sure= if > the same holds for deleting the whole role. > > thoughts? --=20 Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com