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 927EEBECE for ; Wed, 18 Jan 2012 17:54:13 +0000 (UTC) Received: (qmail 24128 invoked by uid 500); 18 Jan 2012 17:54:11 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 24056 invoked by uid 500); 18 Jan 2012 17:54:10 -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 24048 invoked by uid 99); 18 Jan 2012 17:54:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jan 2012 17:54:10 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mailtokamal@gmail.com designates 209.85.214.172 as permitted sender) Received: from [209.85.214.172] (HELO mail-tul01m020-f172.google.com) (209.85.214.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jan 2012 17:54:03 +0000 Received: by obbwc12 with SMTP id wc12so5408779obb.31 for ; Wed, 18 Jan 2012 09:53:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=rPV0qDYrMP1c12OSaIlkJkOd6nK0Wk5R5Mdjj1JxazE=; b=l7u66yI4nsp4xLbl8U5YEPEkhLmLirFP2vNkm4J4FyPiwGJbZiiSDJm1CEhQA9LezK 7Pewxzr+Mui3DxbawK9xQBbOteH13AdtFio+Txet8owNdMIPkik7pVGPK45zh7bLwU9g SRk04rN+/N/07WYTUg/GlNLxja2xYtMujm/wU= Received: by 10.182.131.71 with SMTP id ok7mr19951701obb.71.1326909223238; Wed, 18 Jan 2012 09:53:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.42.138 with HTTP; Wed, 18 Jan 2012 09:53:22 -0800 (PST) From: Kamal Bahadur Date: Wed, 18 Jan 2012 09:53:22 -0800 Message-ID: Subject: Max records per node for a given secondary index value To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=e89a8f234325e67a4b04b6d12078 --e89a8f234325e67a4b04b6d12078 Content-Type: text/plain; charset=UTF-8 Hi All, It is great to know that Cassandra column family can accommodate 2 billion columns per row! I was reading about how Cassandra stores the secondary index info internally. I now understand that the index related data are stored in hidden CF and each node is responsible to store the keys of data that reside on that node only. I have been using secondary index for a low cardinality column called "product". There can only be 3 possible values for this column. I have a four node cluster and process about 5000 records per second with a RF 2. My question here is, what happens after the number of columns in hidden index CF exceeds 2 billion? How does Cassandra handle this situation? I guess, one way to handle this is to add more nodes to the cluster. I am interested in knowing if any other solution exist. Thanks, Kamal --e89a8f234325e67a4b04b6d12078 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi All,

It is great to know that Cassandra column family can accommo= date 2 billion columns per row! I was reading about how Cassandra stores th= e secondary index info internally. I now understand that the index related = data are stored in hidden CF and each node is responsible to store the keys= of data that reside on that node only.

I have been using secondary index for a low cardinality column called &= quot;product". There can only be 3 possible values for this column. I = have a four node cluster and process about 5000 records per second with a R= F 2.

My question here is, what happens after the number of columns in hidden= index CF exceeds 2 billion? How does Cassandra handle this situation? I gu= ess, one way to handle this is to add more nodes to the cluster. I am inter= ested in knowing if any other solution exist.

Thanks,
Kamal
--e89a8f234325e67a4b04b6d12078--