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 2FBE8DCA5 for ; Tue, 2 Oct 2012 13:55:36 +0000 (UTC) Received: (qmail 32932 invoked by uid 500); 2 Oct 2012 13:55:33 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 32895 invoked by uid 500); 2 Oct 2012 13:55:33 -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 32887 invoked by uid 99); 2 Oct 2012 13:55:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2012 13:55:33 +0000 X-ASF-Spam-Status: No, hits=-0.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of 0x6e6562@gmail.com designates 209.85.216.51 as permitted sender) Received: from [209.85.216.51] (HELO mail-qa0-f51.google.com) (209.85.216.51) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2012 13:55:25 +0000 Received: by qabj40 with SMTP id j40so600127qab.10 for ; Tue, 02 Oct 2012 06:55:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=m6lgQA/teuSYEXG1zG0tgRAj89YLo/le5j0z18/Risk=; b=GZEWL9wr7O3hPWqcckUDrz4pSjd4KB3BbTZGYCinUxHmq1XcFjucKorqEY3fAyfnLU FXwn5kaG33vTZXVE/wFPZKRHyCBkv8/jjq831fbJgU5aJl0c13Q9cU1WNnQfColtnhku QQOJ4F36S4w0OburxpC6v5muV7K+EIqJP2BUHz4lVViqm4skOrSu0q8op5N2ysk0yxtZ wjwtayrcxsaZ97BAsMjETIjD8Q/40yHIbKI007rQm3K8BHX1Rvs9V2XeA4yW+zFbTDos k+u0ZhXh8U0+KvPY0K0OXXO/Yql+sD8GKTSqlok9bduz9uwMDXINSRoBuAHDmT3eF0XF W9Fw== MIME-Version: 1.0 Received: by 10.49.1.36 with SMTP id 4mr5061675qej.46.1349186105224; Tue, 02 Oct 2012 06:55:05 -0700 (PDT) Received: by 10.49.117.196 with HTTP; Tue, 2 Oct 2012 06:55:05 -0700 (PDT) In-Reply-To: References: Date: Tue, 2 Oct 2012 14:55:05 +0100 Message-ID: Subject: Re: 1000's of column families From: Ben Hood <0x6e6562@gmail.com> To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Brian, On Tue, Oct 2, 2012 at 2:20 PM, Brian O'Neill wrote: > > Without putting too much thought into it... > > Given the underlying architecture, I think you could/would have to write > your own partitioner, which would partition based on the prefix/virtual > keyspace. I might be barking up the wrong tree here, but looking at source of ColumnFamilyInputFormat, it seems that you can specify a KeyRange for the input, but only when you use an order preserving partitioner. So I presume that if you are using the RandomPartitioner, you are effectively doing a full CF scan (i.e. including all tenants in your system). Ben