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 0FDFF4CE8 for ; Fri, 10 Jun 2011 19:23:22 +0000 (UTC) Received: (qmail 49045 invoked by uid 500); 10 Jun 2011 19:23:21 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 49015 invoked by uid 500); 10 Jun 2011 19:23:21 -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 49007 invoked by uid 99); 10 Jun 2011 19:23:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 19:23:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 19:23:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D7D3E10D188 for ; Fri, 10 Jun 2011 19:22:58 +0000 (UTC) Date: Fri, 10 Jun 2011 19:22:58 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: <220508209.11666.1307733778880.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1324594057.23772.1304576103124.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (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 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-3855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13047383#comment-13047383 ] stack commented on HBASE-3855: ------------------------------ Committed to branch and Andrew's suggestion. > 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 > Assignee: dhruba borthakur > Priority: Blocker > Fix For: 0.92.0 > > 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. For more information on JIRA, see: http://www.atlassian.com/software/jira