Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 76482 invoked from network); 28 Oct 2010 06:34:30 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Oct 2010 06:34:30 -0000 Received: (qmail 35048 invoked by uid 500); 28 Oct 2010 06:34:29 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 35030 invoked by uid 500); 28 Oct 2010 06:34:29 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 35017 invoked by uid 99); 28 Oct 2010 06:34:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Oct 2010 06:34:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Oct 2010 06:34:27 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9S6Y5ID001140 for ; Thu, 28 Oct 2010 06:34:05 GMT Message-ID: <5053470.116581288247645093.JavaMail.jira@thor> Date: Thu, 28 Oct 2010 02:34:05 -0400 (EDT) From: "Todd Lipcon (JIRA)" To: issues@hbase.apache.org Subject: [jira] Commented: (HBASE-3162) Add TimeRange support into Increment to optimize for counters that are partitioned on time In-Reply-To: <24113080.113101288245724909.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-3162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12925713#action_12925713 ] Todd Lipcon commented on HBASE-3162: ------------------------------------ oh hey, it looks like you already started using that style of API in HBASE-2946 - guess we are on the same page :) > Add TimeRange support into Increment to optimize for counters that are partitioned on time > ------------------------------------------------------------------------------------------ > > Key: HBASE-3162 > URL: https://issues.apache.org/jira/browse/HBASE-3162 > Project: HBase > Issue Type: Improvement > Components: client, regionserver > Affects Versions: 0.90.0 > Reporter: Jonathan Gray > Priority: Minor > > In many use cases of increments, a given counter is only incremented during a specific window of time (ie. the counters are partitioned/sharded by time). > With this kind of schema, you are constantly creating new counters. When a new counter is "created" (incremented the first time) you will always end up looking at a block from every file in the region because no previous value will exist. However, with the new TimeRange optimizations that skip files if they don't contain values of the TimeRange you're interested in, we could utilize that information to optimize the Get within the increment. > This would be optional and an addition to the Increment class. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.