Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F1D7AD138 for ; Tue, 3 Jul 2012 00:12:58 +0000 (UTC) Received: (qmail 97684 invoked by uid 500); 3 Jul 2012 00:12:58 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 97653 invoked by uid 500); 3 Jul 2012 00:12:58 -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 97642 invoked by uid 99); 3 Jul 2012 00:12:58 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jul 2012 00:12:58 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id A9B0F14281B for ; Tue, 3 Jul 2012 00:12:58 +0000 (UTC) Date: Tue, 3 Jul 2012 00:12:58 +0000 (UTC) From: "Gregory Chanan (JIRA)" To: issues@hbase.apache.org Message-ID: <131156368.531.1341274378697.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1324594057.23772.1304576103124.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (HBASE-3855) Performance degradation of memstore because reseek is linear MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-3855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gregory Chanan resolved HBASE-3855. ----------------------------------- Resolution: Fixed Fix Version/s: (was: 0.90.7) 0.90.4 It looks like this was committed way back in 0.90.4. Closing. commit 4f4edbaa043952715d4eb9a40605154c6e41d179 Author: Michael Stack Date: Fri Jun 10 19:21:41 2011 +0000 HBASE-3855 Performance degradation of memstore because reseek is linear git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.90@1134419 13f79535-47bb-0310-9956-ffa450edef68 Perhaps this was left open for HBASE-4195 (which never made it into 0.90). > Performance degradation of memstore because reseek is linear > ------------------------------------------------------------ > > Key: HBASE-3855 > URL: https://issues.apache.org/jira/browse/HBASE-3855 > Project: HBase > Issue Type: Improvement > Reporter: dhruba borthakur > Priority: Critical > Fix For: 0.90.4 > > Attachments: memstoreReseek.txt, memstoreReseek2.txt > > > The scanner use reseek to find the next row (or next column) as part of a scan. The reseek code iterates over a Set to position itself at the right place. If there are many thousands of kvs that need to be skipped over, then the time-cost is very high. In this case, a seek would be far lesser in cost than a reseek. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira