Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9247410C04 for ; Sun, 20 Oct 2013 03:34:28 +0000 (UTC) Received: (qmail 56612 invoked by uid 500); 20 Oct 2013 03:34:26 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 55722 invoked by uid 500); 20 Oct 2013 03:34:21 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 55714 invoked by uid 99); 20 Oct 2013 03:34:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Oct 2013 03:34:19 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of yuzhihong@gmail.com designates 209.85.217.176 as permitted sender) Received: from [209.85.217.176] (HELO mail-lb0-f176.google.com) (209.85.217.176) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Oct 2013 03:34:13 +0000 Received: by mail-lb0-f176.google.com with SMTP id y6so4306702lbh.7 for ; Sat, 19 Oct 2013 20:33:53 -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=LI9F1r+TXZXypMFRE2t2vV2+hyfm8/5zoL8/QDuGYak=; b=BUcgaNxZagyWC/OmQ/djukH3LZ8wFOy2Brrub4qYzllmVTkVveM7JaAhP4xK5qSJz1 582dHm/ruKDlep5NDR0dDSD41WFf/NoQj4prSM7XufSBNOR+h4F8FXj0AjfaCMRH7R/C 7d+FiCbF8nuOI6Vo4wDlRU9vOWrrYOseTiYIAGB6jHup5lkOFiOdMsLZI1WcKPWEdmfd 2IapmntOrMyGGPxwKYWtXLFSAlpN2UoadYhlp8f1ISb+6lYbpIn+Re4ntCrcrk+WuBOX xNtVytrfBpb3FDhVI3iduF0PLYm8Gy73TFenkm2BhS28dC17Q/O1X1yfvqRdQjdeRWUi 15dQ== MIME-Version: 1.0 X-Received: by 10.152.44.225 with SMTP id h1mr8267188lam.15.1382240033213; Sat, 19 Oct 2013 20:33:53 -0700 (PDT) Received: by 10.112.129.40 with HTTP; Sat, 19 Oct 2013 20:33:53 -0700 (PDT) In-Reply-To: References: Date: Sat, 19 Oct 2013 20:33:53 -0700 Message-ID: Subject: Re: Beware of PREFIX_TREE block encoding From: Ted Yu To: "dev@hbase.apache.org" Content-Type: multipart/alternative; boundary=089e0160b7be2c917804e923d6ae X-Virus-Checked: Checked by ClamAV on apache.org --089e0160b7be2c917804e923d6ae Content-Type: text/plain; charset=ISO-8859-1 Interesting. >From this graph (HBASE-4676), PREFIX_TREE block encoding is not sensitive to variation in block size: https://issues.apache.org/jira/secure/attachment/12500778/SeeksPerSec%20by%20blockSize.png What was your block size ? If you don't bypass StoreScanner/KeyValueHeap, would that make a difference ? Thanks On Sat, Oct 19, 2013 at 7:34 PM, Vladimir Rodionov wrote: > What I wanted to say by this? HBase still does not have block encoding > which is optimal for both scan and seek (re-seek). > I do not think these goals are mutually exclusive. > > > Best regards, > Vladimir Rodionov > Principal Platform Engineer > Carrier IQ, www.carrieriq.com > e-mail: vrodionov@carrieriq.com > > ________________________________________ > From: Vladimir Rodionov [vladrodionov@gmail.com] > Sent: Saturday, October 19, 2013 7:32 PM > To: dev@hbase.apache.org > Subject: Beware of PREFIX_TREE block encoding > > The scan performance is bad. 10 x slower on my tests than for blocks with > NONE encoding. I scan data directly from block cache through > StoreFileScanner (bypassing all StoreScanner/KeyValueHeap stuff). It should > be clearly stated that this encoding degrades overall performance > significantly in favor of data size reduction and is suitable only for Gets > - not for Scans. > > Best regards, > -Vladimir Rodionov > > - > > Confidentiality Notice: The information contained in this message, > including any attachments hereto, may be confidential and is intended to be > read only by the individual or entity to whom this message is addressed. If > the reader of this message is not the intended recipient or an agent or > designee of the intended recipient, please note that any review, use, > disclosure or distribution of this message or its attachments, in any form, > is strictly prohibited. If you have received this message in error, please > immediately notify the sender and/or Notifications@carrieriq.com and > delete or destroy any copy of this message and its attachments. > --089e0160b7be2c917804e923d6ae--