Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 68837 invoked from network); 6 Oct 2010 19:12:55 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Oct 2010 19:12:55 -0000 Received: (qmail 47153 invoked by uid 500); 6 Oct 2010 19:12:53 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 47103 invoked by uid 500); 6 Oct 2010 19:12:53 -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 47095 invoked by uid 99); 6 Oct 2010 19:12:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Oct 2010 19:12:53 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [212.97.132.51] (HELO mailgw12.surf-town.net) (212.97.132.51) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Oct 2010 19:12:45 +0000 Received: by mailgw12.surf-town.net (Postfix, from userid 65534) id E9BC91378A2; Wed, 6 Oct 2010 21:12:21 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mailgw12.surf-town.net (Postfix) with ESMTP id 081F41378BB for ; Wed, 6 Oct 2010 21:12:21 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mailgw12.surf-town.net X-Spam-Score: 0.101 X-Spam-Level: Received: from mailgw12.surf-town.net ([127.0.0.1]) by localhost (mailgw12.surf-town.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id VdTTXhvUlRla for ; Wed, 6 Oct 2010 21:12:15 +0200 (CEST) Received: from [192.168.0.162] (87-104-100-23-dynamic-customer.profibernet.dk [87.104.100.23]) by mailgw12.surf-town.net (Postfix) with ESMTP id 184E3138556 for ; Wed, 6 Oct 2010 21:11:47 +0200 (CEST) Message-ID: <4CACC9F0.2000100@monit.dk> Date: Wed, 06 Oct 2010 21:11:44 +0200 From: Morten Wegelbye Nissen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 To: user@cassandra.apache.org Subject: Re: get keys based on values?? References: <649A15D5-25BF-47A0-B6D0-007EA1C93947@grnoc.iu.edu> <659AF4B5-9C92-4FBA-B20C-00DCDDB82E21@grnoc.iu.edu> In-Reply-To: <659AF4B5-9C92-4FBA-B20C-00DCDDB82E21@grnoc.iu.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Old-Spam-Status: No, score=0.101 tagged_above=-999 required=7 tests=[RCVD_IN_DK=0.001, RDNS_DYNAMIC=0.1] > So would my best bet be to simply get ALL of my users uuids and ages, > then throw away all of those that do not meet the required test? > And in fact this is also what a traditional database does when you need table scan. And this will happen if you have not prepared an index on that column. ( The only reason why it works in most systems is that the amount of data is relative low ) Was this to much offtopic :) ? ./Morten