Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-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 59CD49894 for ; Thu, 13 Sep 2012 04:45:53 +0000 (UTC) Received: (qmail 14586 invoked by uid 500); 13 Sep 2012 04:45:51 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 14447 invoked by uid 500); 13 Sep 2012 04:45:50 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 14414 invoked by uid 99); 13 Sep 2012 04:45:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2012 04:45:50 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of beatls@gmail.com designates 209.85.220.169 as permitted sender) Received: from [209.85.220.169] (HELO mail-vc0-f169.google.com) (209.85.220.169) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2012 04:45:43 +0000 Received: by vcbfl17 with SMTP id fl17so181818vcb.14 for ; Wed, 12 Sep 2012 21:45:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=8xgp8MoCT3SG0DmjVLa51jUKu846tG6H9e/nMM+3VtA=; b=DOPrZydDFywVz/3eYHqHfaTXc6zKTM+cC12npm0lRP3+7TSGTC0RhHdH6T+Zh1d7uv bX5cM10iKuft5LSeVjKuqoOLFV0L6m7FWhJQwgMQfNxgJY2fiaGkqyIW9gW+ubGw3as9 EeusaKSeAZybPMciXzsGszJDpKD4DnUEhQ885QP1L9Ms+fx0I0KF6ZHgrUb+x3JLoOmq ShzUjMHMjoo0gSSctf4PPZxfx3JgzFRS0qCJUwNO7fgzuB5geeU0ZbYZdqnRUkQyHg49 /yaATpHCRJ9UvJNgXVK4BkgWWLT9ZKWJHlT0Sxe8X7oMYrzZHEwLjh5JTSi8jRPsFAxi 3/8Q== MIME-Version: 1.0 Received: by 10.220.107.146 with SMTP id b18mr464156vcp.48.1347511522737; Wed, 12 Sep 2012 21:45:22 -0700 (PDT) Received: by 10.59.7.129 with HTTP; Wed, 12 Sep 2012 21:45:22 -0700 (PDT) In-Reply-To: References: Date: Thu, 13 Sep 2012 12:45:22 +0800 Message-ID: Subject: Re: Performance of scan setTimeRange VS manually doing it From: Xiang Hua To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=f46d0438ecffa4be3504c98df9e1 X-Virus-Checked: Checked by ClamAV on apache.org --f46d0438ecffa4be3504c98df9e1 Content-Type: text/plain; charset=ISO-8859-1 Hi, do you have script in python for rack awareness configuration? Thanks! beatls On Thu, Sep 13, 2012 at 5:52 AM, Tom Brown wrote: > When I query HBase, I always include a time range. This has not been a > problem when querying recent data, but it seems to be an issue when I > query older data (a few hours old). All of my row keys include the > timestamp as part of the key (this value is the same as the HBase > timestamp for the row). I recently tried an experiment where I > manually re-seek to the possible row (based on the timestamp as part > of the row key) instead of using "setTimeRange" on my scan object and > was amazed to see that there was no degradation for older data. > > Can someone postulate a theory as to why this might be happening? I'm > happy to provide extra data if it will help you theorize... > > Is there a downside to stopping using "setTimeRange"? > > --Tom > --f46d0438ecffa4be3504c98df9e1--