Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 95735 invoked from network); 8 Feb 2011 20:23:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Feb 2011 20:23:51 -0000 Received: (qmail 7877 invoked by uid 500); 8 Feb 2011 20:23:49 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 7856 invoked by uid 500); 8 Feb 2011 20:23:49 -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 7848 invoked by uid 99); 8 Feb 2011 20:23:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Feb 2011 20:23:49 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [85.158.136.35] (HELO mail125.messagelabs.com) (85.158.136.35) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Feb 2011 20:23:42 +0000 X-VirusChecked: Checked X-Env-Sender: Jeremy.Truelove@barclayscapital.com X-Msg-Ref: server-6.tower-125.messagelabs.com!1297196598!6197325!1 X-StarScan-Version: 6.2.9; banners=-,-,- X-Originating-IP: [146.127.253.25] Received: (qmail 23792 invoked from network); 8 Feb 2011 20:23:19 -0000 Received: from unknown (HELO mx24.barcap.com) (146.127.253.25) by server-6.tower-125.messagelabs.com with DHE-RSA-AES256-SHA encrypted SMTP; 8 Feb 2011 20:23:19 -0000 Received: from nykpsmeg0000003.INTRANET.BARCAPINT.COM (nykpsmeg0000003.nyk.mess.barcap.com [10.54.24.3]) by mx24.barcap.com (Postfix) with ESMTP id B098D97002C for ; Tue, 8 Feb 2011 15:23:18 -0500 (EST) Received: from nykpsmmgch03.INTRANET.BARCAPINT.COM (Not Verified[10.54.113.21]) by nykpsmeg0000003.INTRANET.BARCAPINT.COM with Barclays Capital Filter ESMTP id ; Tue, 08 Feb 2011 15:23:18 -0500 Received: from NYKPCMMGMB07.INTRANET.BARCAPINT.COM ([169.254.1.75]) by nykpsmmgch03.INTRANET.BARCAPINT.COM ([10.54.113.21]) with mapi; Tue, 8 Feb 2011 15:23:18 -0500 From: To: Date: Tue, 8 Feb 2011 15:23:18 -0500 Subject: RE: Subcolumn Indexing Thread-Topic: Subcolumn Indexing Thread-Index: AcvHxYPRLpR8M6LFRaWu4xH7EnJwMAACFW0Q Message-ID: <415F86341B2D7B4480FAE34D76D00DB2010D87DBFC@NYKPCMMGMB07.INTRANET.BARCAPINT.COM> References: <415F86341B2D7B4480FAE34D76D00DB2010D87DBED@NYKPCMMGMB07.INTRANET.BARCAPINT.COM> <4D5197C7.20108@datastax.com> In-Reply-To: <4D5197C7.20108@datastax.com> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-GB Content-Type: multipart/alternative; boundary="_000_415F86341B2D7B4480FAE34D76D00DB2010D87DBFCNYKPCMMGMB07I_" MIME-Version: 1.0 --_000_415F86341B2D7B4480FAE34D76D00DB2010D87DBFCNYKPCMMGMB07I_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Thanks, I just wanted to make sure I understand how it worked. Sounds like = the additional mapping vs super column method will work better for my purpo= ses. From: Benjamin Coverston [mailto:ben.coverston@datastax.com] Sent: Tuesday, February 08, 2011 2:22 PM To: user@cassandra.apache.org Subject: Re: Subcolumn Indexing Does this just mean the exhaustive list of the column names not all the val= ues? No, this means the entire supercolumn, names and values. When the client tr= ies to access any subcolumn in the supercolumn it has to read the entire su= percolumn. So if I have a super column that has a map of keys that only contain two co= lumns max each this shouldn't really be a performance concern correct? This= becomes an issue when you have lots of subcolumns if I'm reading this corr= ectly? I'm looking at using the super column as a good way to cluster data,= say I was storing home addresses I might use the zipcode as the super colu= mn if I cared mostly about accessing data by logical area for instance. Tha= nks for the help. That is one way to logically group the values, but I think that a simpler s= olution may be to store the home address as a single row in a column family= , then use a dynamic column family to store references to those addresses p= er zip code. jt _______________________________________________ This e-mail may contain information that is confidential, privileged or oth= erwise protected from disclosure. If you are not an intended recipient of t= his e-mail, do not duplicate or redistribute it by any means. Please delete= it and any attachments and notify the sender that you have received it in = error. Unless specifically indicated, this e-mail is not an offer to buy or= sell or a solicitation to buy or sell any securities, investment products = or other financial product or service, an official confirmation of any tran= saction, or an official statement of Barclays. Any views or opinions presen= ted are solely those of the author and do not necessarily represent those o= f Barclays. This e-mail is subject to terms available at the following link= : www.barcap.com/emaildisclaimer. By= messaging with Barclays you consent to the foregoing. Barclays Capital is= the investment banking division of Barclays Bank PLC, a company registered= in England (number 1026167) with its registered office at 1 Churchill Plac= e, London, E14 5HP. This email may relate to or be sent from other members= of the Barclays Group. _______________________________________________ --_000_415F86341B2D7B4480FAE34D76D00DB2010D87DBFCNYKPCMMGMB07I_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Thanks, I just wanted to make sure I understand how it worke= d. Sounds like the additional mapping vs super column method will work better for my purposes.

 

From: Benjamin Coverston [mailto:ben.coverston@datastax.com]
Sent: Tuesday, February 08, 2011 2:22 PM
To: user@cassandra.apache.org
Subject: Re: Subcolumn Indexing

 



Does this just mean the exhaustive list of the column names not all the values? =

No, this means the entire supercolumn, names and value= s. When the client tries to access any subcolumn in the supercolumn it has to = read the entire supercolumn.

So if I have a super column that has a map of keys that only contain two colum= ns max each this shouldn’t really be a performance concern correct? This becomes an issue when you have lots of subcolumns if I’m reading this correctly? I’m looking at using the super column as a good way to clu= ster data, say I was storing home addresses I might use the zipcode as the super column if I cared mostly about accessing data by logical area for instance. Thanks for the help.

That is one way to logically group the values, but I t= hink that a simpler solution may be to store the home address as a single row in= a column family, then use a dynamic column family to store references to thos= e addresses per zip code.


 

jt

_____________________= __________________________

 

This e-mail may conta= in information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this e-mail, do not duplicate or redistribute it by any means. Please delete it and any attachm= ents and notify the sender that you have received it in error. Unless specifical= ly indicated, this e-mail is not an offer to buy or sell or a solicitation to = buy or sell any securities, investment products or other financial product or s= ervice, an official confirmation of any transaction, or an official statement of Barclays. Any views or opinions presented are solely those of the author an= d do not necessarily represent those of Barclays. This e-mail is subject to term= s available at the following link: www.barcap.com/emaildisclaim= er. By messaging with Barclays you cons= ent to the foregoing.  Barclays Capital is the investment banking division of Barclays Bank PLC, a company registered in England (number 1026167) with it= s registered office at 1 Churchill Place, London, E14 5HP.  This email m= ay relate to or be sent from other members of the Barclays Group.<= /o:p>

_____________________= __________________________

--_000_415F86341B2D7B4480FAE34D76D00DB2010D87DBFCNYKPCMMGMB07I_--