Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 27992 invoked from network); 20 Mar 2011 22:14:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Mar 2011 22:14:06 -0000 Received: (qmail 25589 invoked by uid 500); 20 Mar 2011 22:14:04 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 25468 invoked by uid 500); 20 Mar 2011 22:14:04 -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 25460 invoked by uid 99); 20 Mar 2011 22:14:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Mar 2011 22:14:04 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a78.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Mar 2011 22:13:59 +0000 Received: from homiemail-a78.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a78.g.dreamhost.com (Postfix) with ESMTP id 5866615C059 for ; Sun, 20 Mar 2011 15:13:37 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=content-type :mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; q=dns; s= thelastpickle.com; b=uneidH1McLv6BOp42VwH49xfXHsUt0YYmeNkZ9BqgT9 6EUPJa6XYIiGIys94/501NILjy3BxtO9EkgYEYs23Xs74Al4CkhN9WhC8CSvY/lf Jeu5ae4ESb1BKQRXb3EmAVBQ1+ClwS2jf/9x+nE5NhfjDkmcRbuVeYhl6JpmzcMo = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h= content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; s= thelastpickle.com; bh=6S+6TRpjjs6ra0T0iIQUZp+f234=; b=mOjLIQR6ps kU3PIw0sWs+g5eojDjgkEnlU/ZaJNdEqSwqEjCdrKEiUcjLlO3nZdh3SqXUFdZMs FkjvZNadCMmxv0erh2P5hAzZ9v1q56fxqcSocdpiLe7pk72HKYE1Bx9L3+mTmmxH y+Nr+SYJJ7d6R418N8UB2D31/yoaDAhJA= Received: from [10.0.1.159] (121-73-157-230.cable.telstraclear.net [121.73.157.230]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a78.g.dreamhost.com (Postfix) with ESMTPSA id 0508A15C058 for ; Sun, 20 Mar 2011 15:13:36 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1082.1) Subject: Re: Reading whole row vs a range of columns (pycassa) From: aaron morton In-Reply-To: <1300504954629-6186782.post@n2.nabble.com> Date: Mon, 21 Mar 2011 11:13:34 +1300 Content-Transfer-Encoding: quoted-printable Message-Id: <31908913-6425-4DDF-8D50-4550F8D06AC0@thelastpickle.com> References: <1300492458665-6186518.post@n2.nabble.com> <1300504954629-6186782.post@n2.nabble.com> To: user@cassandra.apache.org X-Mailer: Apple Mail (2.1082.1) I'd collapse all the data for a single object into a single column, not = sure about storing 100 objects in a single column though.=20 Have you considered any concurrency issues ? e.g. multiple threads / = processes wanting to update different objects in the same group of 100?=20= Dont understand your reference to the OOP in the context of a reading = 100 columns from a row.=20 Aaron =20 On 19 Mar 2011, at 16:22, buddhasystem wrote: > As I'm working on this further, I want to understand this: >=20 > Is it advantageous to flatten data in blocks (strings) each containing = a > series of objects, if I know that a serial object read is often = likely, but > don't want to resort to OPP? I worked out the optimal granularity, it = seems. > Is it better to read a serialized single column with 100 objects than = a row > consisting of a hundred columns each modeling an object? >=20 > -- > View this message in context: = http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Reading-w= hole-row-vs-a-range-of-columns-pycassa-tp6186518p6186782.html > Sent from the cassandra-user@incubator.apache.org mailing list archive = at Nabble.com.