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 820663325 for ; Mon, 2 May 2011 17:13:25 +0000 (UTC) Received: (qmail 2706 invoked by uid 500); 2 May 2011 17:13:23 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 2669 invoked by uid 500); 2 May 2011 17:13:23 -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 2661 invoked by uid 99); 2 May 2011 17:13:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 May 2011 17:13:23 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tyler@datastax.com designates 74.125.82.172 as permitted sender) Received: from [74.125.82.172] (HELO mail-wy0-f172.google.com) (74.125.82.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 May 2011 17:13:17 +0000 Received: by wyb29 with SMTP id 29so5032815wyb.31 for ; Mon, 02 May 2011 10:12:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.229.195 with SMTP id h45mr2790061weq.48.1304356376687; Mon, 02 May 2011 10:12:56 -0700 (PDT) Received: by 10.216.38.1 with HTTP; Mon, 2 May 2011 10:12:56 -0700 (PDT) X-Originating-IP: [64.132.24.248] In-Reply-To: References: Date: Mon, 2 May 2011 12:12:56 -0500 Message-ID: Subject: Re: Combining all CFs into one big one From: Tyler Hobbs To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=0016e644ccd47e35f604a24e22b0 X-Virus-Checked: Checked by ClamAV on apache.org --0016e644ccd47e35f604a24e22b0 Content-Type: text/plain; charset=ISO-8859-1 On Mon, May 2, 2011 at 12:06 PM, David Boxenhorn wrote: > I guess I'm still feeling fuzzy on this because my actual use-case isn't so > black-and-white. I don't have any CFs that are accessed purely, or even > mostly, in once-through batch mode. What I have is CFs with more and less > data, and CFs that are accessed more and less frequently. > I figured that was the case; the black-and-white CFs just make easier examples. Back at the beginning of the thread, I recommend merging CFs that have similar data "shapes" and highly correlated access patterns. For example, if you had two CFs, "user profile" and "group profile", that both had fixed-length rows and tended to both be read for some type of operations, those would be a good candidate for merging. Just take the ideas from the black-and-white examples and apply them in a more nuanced way. -- Tyler Hobbs Software Engineer, DataStax Maintainer of the pycassa Cassandra Python client library --0016e644ccd47e35f604a24e22b0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Mon, May 2, 2011 at 12:06 PM, David Boxenhorn= <david@taotown.c= om> wrote:
I guess I'm still feeling fuzzy on this because my act= ual use-case isn't so black-and-white. I don't have any CFs that ar= e accessed purely, or even mostly, in once-through batch mode. What I have = is CFs with more and less data, and CFs that are accessed more and less fre= quently.

I figured that was the case; the black-and-whi= te CFs just make easier=20 examples.=A0 Back at the beginning of the thread, I recommend merging CFs= =20 that have similar data "shapes" and highly correlated access patt= erns.=A0=20 For example, if you had two CFs, "user profile" and "group p= rofile",=20 that both had fixed-length rows and tended to both be read for some type of operations, those would be a good candidate for merging.=A0 Just take t= he ideas from the black-and-white examples and apply them in a more nuanced= way.

--
Tyler Hobbs
Software Engineer, DataS= tax
Maintainer of the pycassa Cassandra Python client library
--0016e644ccd47e35f604a24e22b0--