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 EB3D89CD3 for ; Fri, 10 Feb 2012 22:15:40 +0000 (UTC) Received: (qmail 95466 invoked by uid 500); 10 Feb 2012 22:15:38 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 95416 invoked by uid 500); 10 Feb 2012 22:15:38 -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 95408 invoked by uid 99); 10 Feb 2012 22:15:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Feb 2012 22:15:37 +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 (athena.apache.org: domain of narendra.sharma@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; Fri, 10 Feb 2012 22:15:33 +0000 Received: by iagf6 with SMTP id f6so994850iag.31 for ; Fri, 10 Feb 2012 14:15:13 -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=PioG8XdOgBlnqGXXucR3csQXpue71jt5GCJvVGlejJw=; b=oFOqfCKrZ2PxpBLdmehExCtpXzjsZ5h60KD+276Q5UZXQwVUNlGgGfPGNy83r+nopi nWVBP6k+8GpEjMN2VyixcH7CuHqpieNLD0o/dafMNe4iKxIZJQn8GerdqtOEdZQhtH3B YT8sDeXs8c6VgDtge9j6G+0I70zB/PwlGXtZU= MIME-Version: 1.0 Received: by 10.42.151.72 with SMTP id d8mr11799304icw.50.1328912112340; Fri, 10 Feb 2012 14:15:12 -0800 (PST) Received: by 10.42.229.196 with HTTP; Fri, 10 Feb 2012 14:15:12 -0800 (PST) In-Reply-To: <1529B2A5-D11D-4661-8EB3-C71A624257AD@venarc.com> References: <1529B2A5-D11D-4661-8EB3-C71A624257AD@venarc.com> Date: Fri, 10 Feb 2012 14:15:12 -0800 Message-ID: Subject: Re: Implications of length of column names From: Narendra Sharma To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=90e6ba1efdd664ccee04b8a376fa --90e6ba1efdd664ccee04b8a376fa Content-Type: text/plain; charset=ISO-8859-1 It is good to have short column names. They save space all the way from network transfer to in-memory usage to storage. It is also good idea to club immutables columns that are read together and store as single column. We gained significant overall performance benefits with this. -Naren On Fri, Feb 10, 2012 at 12:20 PM, Drew Kutcharian wrote: > What are the implications of using short vs long column names? Is it > better to use short column names or longer ones? > > I know for MongoDB you are better of using short field names > http://www.mongodb.org/display/DOCS/Optimizing+Storage+of+Small+Objects > Does this apply to Cassandra column names? > > > -- Drew > -- Narendra Sharma Software Engineer *http://www.aeris.com * *http://narendrasharma.blogspot.com/* --90e6ba1efdd664ccee04b8a376fa Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable It is good to have short column names. They save space all the way from net= work transfer to in-memory usage to storage. It is also good idea to club i= mmutables columns that are read together and store as single column. We gai= ned significant overall performance benefits with this.

-Naren

On Fri, Feb = 10, 2012 at 12:20 PM, Drew Kutcharian <drew@venarc.com> wrote:
What are the implications of using shor= t vs long column names? Is it better to use short column names or longer on= es?

I know for MongoDB you are better of using short fie= ld names=A0http://www.mongodb.org/display/DOCS/O= ptimizing+Storage+of+Small+Objects=A0 =A0Does this apply to Cassandra c= olumn names?


-- Drew



--
Narendra Sharma<= div> Software Engineer

--90e6ba1efdd664ccee04b8a376fa--