Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 96610 invoked from network); 18 Feb 2010 23:19:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Feb 2010 23:19:00 -0000 Received: (qmail 59033 invoked by uid 500); 18 Feb 2010 23:18:59 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 59015 invoked by uid 500); 18 Feb 2010 23:18:59 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 59006 invoked by uid 99); 18 Feb 2010 23:18:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2010 23:18:59 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kaczmarek.w@gmail.com designates 209.85.218.227 as permitted sender) Received: from [209.85.218.227] (HELO mail-bw0-f227.google.com) (209.85.218.227) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2010 23:18:52 +0000 Received: by bwz27 with SMTP id 27so775666bwz.20 for ; Thu, 18 Feb 2010 15:18:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=2QCGwcwqhDs2UpZsRYn5VPKtj2CJRWwPo0zojfWIPPU=; b=PSbJcC8weniHc8w6KVc2XwHcqKppVJgKqyWkgii4nTZC8iODexgdHY2mN59llXQ8hU bnOagSsmVqNOY/GS5BE/ZdwbMHC35or93VRhMBv/FUKdxfDqd7qUUDgTdQReiFHx2Y0g YCnXFp3A/rEM5tsT0H5Uh9GkqaOF+wvbZ5cpQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=O/hEiu90kFlJIxoK5DCxeEmmi6OlMv96a66n+1e4LnoxzPoIeCK4xE4Rsrqxz1X1df 4N+ogZr7YtIQyx5m5JVv16I6HcOFX4X1Gc30Ee8A0LHDU3k4V90eN+/NsGe0EIcdoUlU lOKkuHzqgLBSbPlt9KZSJ+h/L0iX2pQ1andB0= MIME-Version: 1.0 Received: by 10.204.15.140 with SMTP id k12mr4699357bka.63.1266535111436; Thu, 18 Feb 2010 15:18:31 -0800 (PST) In-Reply-To: <9b048d181002181418i6c3cbc92qe4704ce5d79847e1@mail.gmail.com> References: <9b048d181002170748t7379dcfen57537618ec97459b@mail.gmail.com> <9b048d181002171344g36f7144ch11a219bc9a49f776@mail.gmail.com> <87iq9uwqq4.fsf@lifelogs.com> <9b048d181002180705r7989d598r605fb9a4e10c7a8e@mail.gmail.com> <877hqawlvi.fsf@lifelogs.com> <9b048d181002181418i6c3cbc92qe4704ce5d79847e1@mail.gmail.com> From: Wojciech Kaczmarek Date: Fri, 19 Feb 2010 00:18:11 +0100 Message-ID: <31ae10911002181518q671dfe1vf06a8d38104e7dff@mail.gmail.com> Subject: Re: Row with many columns To: cassandra-user@incubator.apache.org Content-Type: multipart/alternative; boundary=00032555764a69a949047fe82f51 --00032555764a69a949047fe82f51 Content-Type: text/plain; charset=ISO-8859-1 Hi Ruslan, I'd model your objects as rows. You can have a concatenation of worldId & objectId as a key, or just objectId alone. On Thu, Feb 18, 2010 at 23:18, ruslan usifov wrote: > For example i have worlds with objects in it (stones, trees and so on). In > my case worldid is key, objects are supercollums(some extra info or draw) > > > 2010/2/18 Ted Zlatanov > >> On Thu, 18 Feb 2010 18:05:50 +0300 ruslan usifov >> wrote: >> >> ru> 2010/2/18 Ted Zlatanov >> >> Maybe you should partition your data differently? What does each of >> >> these tiny columns represent and how do you allocate the row key? >> >> ru> Friends relations, for statistic >> >> Sorry, that's not enough information. Can you give an example of some >> columns and what they mean, and also some row keys and what they mean? >> >> Ted >> >> > --00032555764a69a949047fe82f51 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Ruslan,

I'd model your objects as rows. You can have a concat= enation of worldId & objectId as a key, or just objectId alone.

=
On Thu, Feb 18, 2010 at 23:18, ruslan usifov <ruslan.usifov= @gmail.com> wrote:
For example i hav= e worlds with objects in it (stones, trees and so on). In my case worldid i= s key, objects are supercollums(some extra info or draw)


2010/2/18 T= ed Zlatanov <tzz@lifelogs.com>
On Thu, 18 Feb 20= 10 18:05:50 +0300 ruslan usifov <ruslan.usifov@gmail.com> wrote:

ru> 2010/2/18 Ted Zlatanov <tzz@lifelogs.com>
>> Maybe you should partition your data differently? =A0What doe= s each of
>> these tiny columns represent and how do you allocate the row key?<= br>
ru> Friends relations, for statistic

Sorry, that's not enough information. =A0Can you give an example of som= e
columns and what they mean, and also some row keys and what they mean?

Ted



--00032555764a69a949047fe82f51--