Return-Path: Delivered-To: apmail-cassandra-dev-archive@www.apache.org Received: (qmail 36269 invoked from network); 22 Nov 2010 19:39:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Nov 2010 19:39:29 -0000 Received: (qmail 26369 invoked by uid 500); 22 Nov 2010 19:39:58 -0000 Delivered-To: apmail-cassandra-dev-archive@cassandra.apache.org Received: (qmail 25915 invoked by uid 500); 22 Nov 2010 19:39:57 -0000 Mailing-List: contact dev-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list dev@cassandra.apache.org Received: (qmail 25743 invoked by uid 99); 22 Nov 2010 19:39:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Nov 2010 19:39:57 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 209.85.215.44 as permitted sender) Received: from [209.85.215.44] (HELO mail-ew0-f44.google.com) (209.85.215.44) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Nov 2010 19:39:52 +0000 Received: by ewy8 with SMTP id 8so3869406ewy.31 for ; Mon, 22 Nov 2010 11:39:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=QM8hS3UGDZLXzP0fXDBjYpd/vMe0QSyUZ5fomG0osYU=; b=nR7I1pNi1OV3Ja9Ip0vAVE/V30yLu7ei/MhPdWoks0W0OJdaAMl4qdkOvwZm0lCWxX 7U6YjzXyx4/Wtku/FKosrLdNlO9sCcQfsdRagMfK9mUgO9VU3b7h3JcZ4/wqMhJwAfpH 9GY3VNzQ13lX4G3qAajUBw2nc7DCymlwWaHcc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=M/68s2If+yOWnSfBaNWchDd9bdjhbCjFwkG6oEHE3Tm/7VV5HY8MGkMVd16Fr5b1aZ JrvinqKaVG/p0S6zLFj1vrEAKGAjUesDbeP+8+S6ec5pGluspFrGz8QICqsRGpi+0U57 24qRNeecbn68kJtk6dBHadxBLRRvrA/+wO5Mo= MIME-Version: 1.0 Received: by 10.216.255.199 with SMTP id j49mr5209824wes.110.1290454770159; Mon, 22 Nov 2010 11:39:30 -0800 (PST) Received: by 10.217.3.198 with HTTP; Mon, 22 Nov 2010 11:39:30 -0800 (PST) In-Reply-To: References: <1289234576.46236761@192.168.2.228> <1289317896.180116986@192.168.2.228> <1289320161.063728937@192.168.2.228> <1289325924.168626883@192.168.2.228> Date: Mon, 22 Nov 2010 13:39:30 -0600 Message-ID: Subject: Re: CASSANDRA-1472 (bitmap indexes) From: Jonathan Ellis To: dev Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Let's start wth the low-hanging fruit: can you give steps to reproduce queries that fail right away? On Wed, Nov 17, 2010 at 10:37 AM, dragos cernahoschi wrote: > Back. I've tested the keys index pagination once again. 0.7 head. Smaller > data set: 1 million rows. It seems there are still some issues: > > 1. *test*: query on one column, count: 1000, expected number of distinct > results: 48251 > =A0 =A0*result*: 5 pages of 1000 results, than, after the 6th page, the r= esults > begin to repeat, I would expect that repetition begins after the 48251-th > row > > 2. *test*: query on 3 columns, count: 10 (count 100, count 1000 failed wi= th > time out) > =A0 =A0*result*: 1 page of 10 results, than second page =3D> time out > > 3. There are queries with combinations of 2, 3 columns that fail right aw= ay > with time out (count 10, 100). > > Dragos > > > On Mon, Nov 15, 2010 at 2:29 PM, Jonathan Ellis wrote= : > >> On Mon, Nov 15, 2010 at 5:57 AM, dragos cernahoschi >> wrote: >> > I've tested 0.7-beta3 branch index feature without the 1472 patch. The >> > queries on more than one column works better than the patched version, >> but >> > definitely not correctly. >> >> Please test 0.7 branch head, as you can see from the CHANGES there >> have been a lot of fixes. >> >> > 1. >> > 2. >> > 4. >> >> Should be fixed in head. >> >> > 3. Is there any example on the pagination feature? (without knowing th= e >> > expected number of rows). >> >> Same way you paginate through range slices or columns within a row, >> set start to the last result you got w/ previous query. >> >> > Will the get_indexed_slices return an empty list when there is no more >> > results? >> >> No, all queries are start-inclusive. >> >> -- >> Jonathan Ellis >> Project Chair, Apache Cassandra >> co-founder of Riptano, the source for professional Cassandra support >> http://riptano.com >> > --=20 Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com