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 780DAD112 for ; Fri, 27 Jul 2012 05:43:10 +0000 (UTC) Received: (qmail 81091 invoked by uid 500); 27 Jul 2012 05:43:08 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 81055 invoked by uid 500); 27 Jul 2012 05:43:07 -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 81021 invoked by uid 99); 27 Jul 2012 05:43:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2012 05:43:06 +0000 X-ASF-Spam-Status: No, hits=-0.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of asdkl93@gmail.com designates 209.85.220.172 as permitted sender) Received: from [209.85.220.172] (HELO mail-vc0-f172.google.com) (209.85.220.172) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2012 05:42:59 +0000 Received: by vcbfo14 with SMTP id fo14so2488546vcb.31 for ; Thu, 26 Jul 2012 22:42:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=OWCyOzsQnnqagTEvGkSDIhvAa9w5mB8kgtxLsp3mvRw=; b=ETWT4efNpWAtsZ6zKnZeQayfKDQQZKPZYaBBOUtZvqbLj4DE7MsiqPvB/EBR993Tsr JPgUQnYhNawMkosrLEkbQd1ky/GwWXIpqY1n6zWLilPqBS3HqdaPHyF2kHVGf3d8NPA9 3RNFgEspxJU/n85HsEqgu0TqV6XIhuRBfygElyyaKHpSGql31f4rZn01rJHitufdbVWD XP908ULcHV1eDMYucPOfqPM5PE5qeDQGzOMrZt0uLNdlONmc61OQAluhFc01bFOjJdbN +DxuJmwExXAPY8g9Hdk4ZL/yUkdO0wK3mIuerid8REnzhTu0qzKnjWsyegswCya2cpmc /Bqg== MIME-Version: 1.0 Received: by 10.52.23.107 with SMTP id l11mr1210752vdf.6.1343367758083; Thu, 26 Jul 2012 22:42:38 -0700 (PDT) Received: by 10.52.183.40 with HTTP; Thu, 26 Jul 2012 22:42:38 -0700 (PDT) Date: Fri, 27 Jul 2012 11:12:38 +0530 Message-ID: Subject: Schema question : Query to support "Find which all of these 500 email ids have been registered" From: Aklin_81 To: user Content-Type: text/plain; charset=ISO-8859-1 I need to find out what all email ids among a list of 500 ids passed in a single query, have been registered on my app. (Total registered email ids may be in millions). What is the best way to store this kind of data? Should I store each email id in a separate row ? But then I would have to read 500 rows at a single time ! Or if I use single row or less no of rows then they would get too heavy. Btw Would it be really bad if I read 500 rows at a single time, they'll be just 1 column rows & never modified once written columns.