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 CEB0A10231 for ; Fri, 16 Aug 2013 17:44:33 +0000 (UTC) Received: (qmail 69026 invoked by uid 500); 16 Aug 2013 17:44:31 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 68834 invoked by uid 500); 16 Aug 2013 17:44:26 -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 68826 invoked by uid 99); 16 Aug 2013 17:44:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Aug 2013 17:44:25 +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 tnine@apigee.com designates 209.85.212.50 as permitted sender) Received: from [209.85.212.50] (HELO mail-vb0-f50.google.com) (209.85.212.50) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Aug 2013 17:44:20 +0000 Received: by mail-vb0-f50.google.com with SMTP id x14so1811707vbb.37 for ; Fri, 16 Aug 2013 10:43:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=+FEytr/DeOyY2U5wF57xSF2BwIxgzXywjZBQ5uaCfrc=; b=O+RQyUxDtIViSVa7Lclkl31Etri5SsX138htoEsdxSLzwb/XmciJIgaTybm6a/x+Bs qLUZZ6WjW2bgM3NbRciFNlAoCPVvaAP3q2Cz/3S8KIYJCQcNgiejJ5oLETdQJHvisxdE Il72pKXtdv9AvllYvvh6xvU0kSc6SElHJJG7xU1aP2Cbp13OGg80FMTCK8kJA2lServk 14rvIsJ02bs6vC5QL6LcpWfoBIIHcZKFHEliGZMe6IklRQHeC6pO+xSJATmrNHfm+d3T pgIdsrHl8HmACd87IhJFd7maH57uXiHQuQXa4i0xIG1QWUiAtEmi5sxp7IYTYBbh3W4u YAqA== X-Gm-Message-State: ALoCoQkOtc9m52xcBHBjqley8EPExP7fhRsyv3rduYEibCrmxuaegdqIoZAI3jeIUJFhu2ESItru MIME-Version: 1.0 X-Received: by 10.52.35.98 with SMTP id g2mr1920147vdj.0.1376675038907; Fri, 16 Aug 2013 10:43:58 -0700 (PDT) Received: by 10.58.213.103 with HTTP; Fri, 16 Aug 2013 10:43:58 -0700 (PDT) Date: Fri, 16 Aug 2013 10:43:58 -0700 Message-ID: Subject: Configuring ephemeral only column family From: Todd Nine To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi guys, We're using expiring columns as a mean for locking. All of this data should be completely ephemeral with only a 5 second ttl per column. We're seeing some strangeness where our rows are getting quite large with tombstones. We really don't need the commit log, nor the sstables in our use case. The data is written via a heartbeat, so if a lock exists it should always exist in the memtable. I thought we'd tweaked our lock's CF enough to stop this from happening. Below is what we've done. 1) Set GC Grace to 60 seconds on the Locks/HLocks CF 2) Disable the commit log for the Locks keyspace (only has the 1 keyspace in it) However, we're still seeing very wide rows in our sstables, which (I'm assuming) are due to tombstones since I only get < 10 columns back on a full range scan. We're trying to eliminate the need to go to disk completely in the Locks\HLocks CF. Is there anything further we can do? Any help would be greatly appreciated! Thanks, Todd