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 4B7EF9BDD for ; Wed, 28 Dec 2011 14:20:47 +0000 (UTC) Received: (qmail 38032 invoked by uid 500); 28 Dec 2011 14:20:44 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 38002 invoked by uid 500); 28 Dec 2011 14:20:44 -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 37994 invoked by uid 99); 28 Dec 2011 14:20:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Dec 2011 14:20:44 +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 edlinuxguru@gmail.com designates 209.85.210.172 as permitted sender) Received: from [209.85.210.172] (HELO mail-iy0-f172.google.com) (209.85.210.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Dec 2011 14:20:37 +0000 Received: by iabz21 with SMTP id z21so78625iab.31 for ; Wed, 28 Dec 2011 06:20:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=V9fslRB92fuNiCcxtOxGcgKJSthLAj3aGbmDWXUZ4IE=; b=uWlPS88WTByomIRfFEXY3iqBW9dTEmZpizBEWqvv9E3sz2IvC8nudUl9R+FmgtD+3u hvQxF162h0A6xjIzsB/tGy2yOKDITyAdDlBVlP99vqFDcfZqeN7QYPfXoQRbLJnMuanp GP+n19TQ3Ck823KFBjtLi7oNAP+ViXz4c8N0s= MIME-Version: 1.0 Received: by 10.50.41.131 with SMTP id f3mr35791143igl.28.1325082016543; Wed, 28 Dec 2011 06:20:16 -0800 (PST) Received: by 10.42.166.66 with HTTP; Wed, 28 Dec 2011 06:20:16 -0800 (PST) In-Reply-To: References: Date: Wed, 28 Dec 2011 09:20:16 -0500 Message-ID: Subject: Re: Merging 3 rows that are mostly read together from CF into single rows with composite col names ? From: Edward Capriolo To: "user@cassandra.apache.org" Content-Type: multipart/alternative; boundary=14dae9340f61e4f43b04b527b278 X-Virus-Checked: Checked by ClamAV on apache.org --14dae9340f61e4f43b04b527b278 Content-Type: text/plain; charset=ISO-8859-1 On Monday, December 26, 2011, Asil Klin wrote: > If 3 rows in a column family need to be read together 'always', is it preferable to just merge them in 1 row using composite col names(instead of keeping in 3 rows) ? Does this improve read performance, anyway ? You almost definitely want to merge this row. In spinning disk systems like SCSI or sata seeking data on disk is at a premium so having 3 independent seeks for data that is always read together is not good. --14dae9340f61e4f43b04b527b278 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Monday, December 26, 2011, Asil Klin <asdkl93@gmail.com> wrote:
> If 3 rows in a colum= n family need to be read together 'always', is it preferable to jus= t merge them in 1 row using composite col names(instead of keeping in 3 row= s) ? Does this improve read performance, anyway ?

You almost definitely want to merge this row. In spinning disk systems = like SCSI or sata seeking data on disk is at a premium so having 3 independ= ent seeks for data that is always read together is not good. --14dae9340f61e4f43b04b527b278--