Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 96477 invoked from network); 14 Apr 2010 14:45:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Apr 2010 14:45:58 -0000 Received: (qmail 98238 invoked by uid 500); 14 Apr 2010 14:45:57 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 98216 invoked by uid 500); 14 Apr 2010 14:45:57 -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 98208 invoked by uid 99); 14 Apr 2010 14:45:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Apr 2010 14:45:57 +0000 X-ASF-Spam-Status: No, hits=-0.4 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 74.125.82.44 as permitted sender) Received: from [74.125.82.44] (HELO mail-ww0-f44.google.com) (74.125.82.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Apr 2010 14:45:51 +0000 Received: by wwb24 with SMTP id 24so135972wwb.31 for ; Wed, 14 Apr 2010 07:45:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:received:message-id:subject:to:content-type; bh=aGbjbwS6fi+PZJl0aXSMXUcm8WlVulsBhJ7+nRptJIc=; b=vHx/dR/dB+qK7VrZZFq7xFLrUQqDT+uP2GE7J124tl563Ud6w9KXcjjKVzAhGG1Vzp 4ewgbJFSIpqKBB2kULNpi60gm4re/1ahImCbKpUxqM4RTlzw0W8BTNMNQhdQXiOWeTPX 9cpyZE4QIMIgfCRQrNRu/34T4SIu4gqnsRlTg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=cfP6aGklu9iO/9u7x2Z5HtUa99H/lCvGGbo55C0T2YluRkFcBiEBYkky1aFihN4Izr FUJR5bF8uwg6cgc+cwrNWcgLAN+K51Bo28xpKXEaEjfAOgQtxlk7imeDx94y7ixqgts4 UzZFppRDbhdkXKlYkEIBACWBiV7shZ6+mY65w= MIME-Version: 1.0 Received: by 10.216.17.147 with HTTP; Wed, 14 Apr 2010 07:45:10 -0700 (PDT) In-Reply-To: References: From: Jonathan Ellis Date: Wed, 14 Apr 2010 09:45:10 -0500 Received: by 10.216.90.196 with SMTP id e46mr5199883wef.138.1271256330307; Wed, 14 Apr 2010 07:45:30 -0700 (PDT) Message-ID: Subject: Re: Reading thousands of columns To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 35-50ms for how many rows of 1000 columns each? get_range_slices does not use the row cache, for the same reason that oracle doesn't cache tuples from sequential scans -- blowing away 1000s of rows worth of recently used rows queried by key, for a swath of rows from the scan, is the wrong call more often than it is the right one. On Tue, Apr 13, 2010 at 1:00 PM, James Golick wrote: > Hi All, > I'm seeing about 35-50ms to read 1000 columns from a CF using > get_range_slices. The columns are TimeUUIDType with empty values. > The row cache is enabled and I'm running the query 500 times in a row, so I > can only assume the row is cached. > Is that about what's expected or am I doing something wrong? (It's from java > this time, so it's not ruby thrift being slow). > - James