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 2C1E29528 for ; Sat, 14 Jul 2012 00:23:23 +0000 (UTC) Received: (qmail 37696 invoked by uid 500); 14 Jul 2012 00:23:21 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 37656 invoked by uid 500); 14 Jul 2012 00:23:20 -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 37648 invoked by uid 99); 14 Jul 2012 00:23:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Jul 2012 00:23:20 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.214.172] (HELO mail-ob0-f172.google.com) (209.85.214.172) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Jul 2012 00:23:15 +0000 Received: by obbwc20 with SMTP id wc20so6103708obb.31 for ; Fri, 13 Jul 2012 17:22:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=5bOxC9hpGt098CtbakL5MAT6RfEyGqNw/x9gfAEp/VA=; b=FUN/CaMmchlqooJX/gS6+OSMQnPpwJEj9VfcDrou+fCI1nWjeZevTajhksM94j09bY gtEQ30lLs13GlJZpUo3KMZxY7UZt1zxY+v2gFuViQ73Fbv6QOuPG6N0bpZh4pCRi5icd 4w8MMtCFIQqop9grBFVdZ59m8V3E1TP9SQaJ7Q0/++kIBPLWt7z/WDuJMuW9fq71lqRK owhvhzrrmHlwqJwmWD9YjbAfFzQv4eS5mKXCUbmSrrWJmXmZBGjzH8vIhd4mvoE5XLP6 68AKtyr7X0QnSibd5jsIP2wlqXJyza4AQDKgujt6YNOzRF3TDJ+rnCm/LiGycro7eCIa H7zw== MIME-Version: 1.0 Received: by 10.182.53.103 with SMTP id a7mr4407526obp.3.1342225373769; Fri, 13 Jul 2012 17:22:53 -0700 (PDT) Received: by 10.182.115.67 with HTTP; Fri, 13 Jul 2012 17:22:53 -0700 (PDT) In-Reply-To: <5000BACF.6000005@baybroadband.net> References: <7E77B33B-91B8-445F-80BC-AA4947A328BA@yahoo.com> <5000BACF.6000005@baybroadband.net> Date: Fri, 13 Jul 2012 17:22:53 -0700 Message-ID: Subject: Re: SSTable format From: Rob Coli To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQnYUksCNefUs5GL9+BfvDr8l8Yj+KDr0PZvYvGruERpbyp3mUc9Tvn9s9J8RYMQl905Q/AU On Fri, Jul 13, 2012 at 5:18 PM, Dave Brosius wrote: > It depends on what partitioner you use. You should be using the > RandomPartitioner, and if so, the rows are sorted by the hash of the row > key. there are partitioners that sort based on the raw key value but these > partitioners shouldn't be used as they have problems due to uneven > partitioning of data. The formal way this works in the code is that SSTables are ordered by "decorated" row key, where "decoration" is only a transformation when you are not using OrderedPartitioner. FWIW, in case you see that "DecoratedKey" syntax while reading code.. =Rob -- =Robert Coli AIM>ALK - rcoli@palominodb.com YAHOO - rcoli.palominob SKYPE - rcoli_palominodb