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 C60CED83A for ; Wed, 7 Nov 2012 02:13:49 +0000 (UTC) Received: (qmail 95551 invoked by uid 500); 7 Nov 2012 02:13:47 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 95525 invoked by uid 500); 7 Nov 2012 02:13:47 -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 95515 invoked by uid 99); 7 Nov 2012 02:13:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2012 02:13:47 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hsiao.chuanheng@gmail.com designates 209.85.219.44 as permitted sender) Received: from [209.85.219.44] (HELO mail-oa0-f44.google.com) (209.85.219.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2012 02:13:41 +0000 Received: by mail-oa0-f44.google.com with SMTP id n5so1240864oag.31 for ; Tue, 06 Nov 2012 18:13:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=ZN2R2iTjI9jx8ZbI1LrxEeOF971I3T0AHvwPHTj1pP4=; b=rIW84+W2+u+Q+wphjSgUHAQUXqH0ZksjOVyqw+rWww4XDHjocGmJcX7vYRmw+cbRii WuJ0nPcWOOUuDSzvp430rM9696ylZf6nRtLJwJ8L2cuv6RSjws4ZaBv6gwOarO9aOnNy h2HwmhQmoynmFk3yWrx5AcEwLZ+y8mIe1e+h/lnJQmjcm/7eGRpCiptdDnGWK862YGUO Sa4bSyCrin33MeA/hSneZZmTnpzhbcCl5nyicC1PD1Td4AXnpgq6SArqvs0zuxb+H+su 5rwbjAn3nQnkYKSUjNlXOf+ZCmQGc7vbJ4iSB6WqjWZ3ZCGpofaRy3Uo+jqrbp12Wklj JxBQ== Received: by 10.60.11.162 with SMTP id r2mr643044oeb.114.1352254400946; Tue, 06 Nov 2012 18:13:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.76.113.232 with HTTP; Tue, 6 Nov 2012 18:12:59 -0800 (PST) In-Reply-To: References: <274B0A13-59D2-4220-8711-36F370721DE4@co.sapo.pt> From: Chuan-Heng Hsiao Date: Wed, 7 Nov 2012 10:12:59 +0800 Message-ID: Subject: Re: Strange delay in query To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Andre, I am just a cassandra user, the following suggestions may not be valid. I assume you are using cassandra-cli and connecting to some specific node. You can check the following steps: 1. Can you still reproduce this issue? (not -> maybe the system/node issue) 2. What's the result when query without limit? 3. What's the result after doing nodetool repair -pr on that particular column family and that node? btw, there seems to be some minor bug in the 1.1.5 cassandra-cli (but not in 1.1.6). I got error msg after creating an empty keyspace and updating the replication factor as 3 across 3-4 nodes. but when I showed the schema again, the result was correct (including replication factor). Sincerely, Hsiao On Wed, Nov 7, 2012 at 8:34 AM, Andr=E9 Cruz wrote: > Can anyone shed some light on this matter, please? I don't want to just i= ncrease the timeout without understanding why this is happening. Some point= er for me to investigate would be helpful. > > I'm running Cassandra 1.1.5 and these are wide rows (lots of small column= s). I would think that fetching the first 34 columns would be fast, and jus= t a little bit slower than 33 columns, but this is a big difference. > > Thank you and best regards, > Andr=E9 Cruz > > On Nov 6, 2012, at 2:43 PM, Andr=E9 Cruz wrote: > >> Hello. >> >> I have a SCF that is acting strange. See these 2 query times: >> >> >> get NamespaceRevision[3cd88d97-ffde-44ca-8ae9-5336caaebc4e] limit 33; >> ... >> Returned 33 results. >> Elapsed time: 41 msec(s). >> >> get NamespaceRevision[3cd88d97-ffde-44ca-8ae9-5336caaebc4e] limit 34; >> ... >> Returned 34 results. >> Elapsed time: 3569 msec(s). >> >> >> What can be the cause of this delay? I have a 3 node cluster with a repl= ication factor of 3, so all of the nodes should have a copy of the data. >> >> -> describe cluster; >> Cluster Information: >> Snitch: org.apache.cassandra.locator.PropertyFileSnitch >> Partitioner: org.apache.cassandra.dht.RandomPartitioner >> Schema versions: >> a354e01a-d342-3755-9821-c550dcd1caba: [zzz, yyy, xxx] >> >> >> Is there more information that I can provide? >> >> Best regards, >> Andr=E9 Cruz >