Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 20C0A200B8A for ; Fri, 9 Sep 2016 12:14:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1F946160AB6; Fri, 9 Sep 2016 10:14:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 71497160AC2 for ; Fri, 9 Sep 2016 12:14:21 +0200 (CEST) Received: (qmail 78115 invoked by uid 500); 9 Sep 2016 10:14:20 -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 78045 invoked by uid 99); 9 Sep 2016 10:14:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Sep 2016 10:14:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6FCE12C014C for ; Fri, 9 Sep 2016 10:14:20 +0000 (UTC) Date: Fri, 9 Sep 2016 10:14:20 +0000 (UTC) From: "binlijin (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-16594) ROW_INDEX_V2 DBE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 09 Sep 2016 10:14:22 -0000 [ https://issues.apache.org/jira/browse/HBASE-16594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] binlijin updated HBASE-16594: ----------------------------- Description: See HBASE-16213, ROW_INDEX_V1 DataBlockEncoding. ROW_INDEX_V1 is the first version which have no storage optimization, ROW_INDEX_V2 do storage optimization: store every row only once, store column family only once in a HFileBlock. ROW_INDEX_V1 is : /** * Store cells following every row's start offset, so we can binary search to a row's cells. * * Format: * flat cells * integer: number of rows * integer: row0's offset * integer: row1's offset * .... * integer: dataSize * */ ROW_INDEX_V2 is : * row1 qualifier timestamp type value tag * qualifier timestamp type value tag * qualifier timestamp type value tag * row2 qualifier timestamp type value tag * row3 qualifier timestamp type value tag * qualifier timestamp type value tag * .... * integer: number of rows * integer: row0's offset * integer: row1's offset * .... * column family * integer: dataSize was: See HBASE-16213, ROW_INDEX_V1 DataBlockEncoding. ROW_INDEX_V1 is the first version which have no storage optimization, ROW_INDEX_V2 do storage optimization: store every row only once, store column family only once in a HFileBlock. > ROW_INDEX_V2 DBE > ---------------- > > Key: HBASE-16594 > URL: https://issues.apache.org/jira/browse/HBASE-16594 > Project: HBase > Issue Type: Sub-task > Components: Performance > Reporter: binlijin > Fix For: 2.0.0, 1.4.0 > > > See HBASE-16213, ROW_INDEX_V1 DataBlockEncoding. > ROW_INDEX_V1 is the first version which have no storage optimization, > ROW_INDEX_V2 do storage optimization: store every row only once, store column family only once in a HFileBlock. > ROW_INDEX_V1 is : > /** > * Store cells following every row's start offset, so we can binary search to a row's cells. > * > * Format: > * flat cells > * integer: number of rows > * integer: row0's offset > * integer: row1's offset > * .... > * integer: dataSize > * > */ > ROW_INDEX_V2 is : > * row1 qualifier timestamp type value tag > * qualifier timestamp type value tag > * qualifier timestamp type value tag > * row2 qualifier timestamp type value tag > * row3 qualifier timestamp type value tag > * qualifier timestamp type value tag > * .... > * integer: number of rows > * integer: row0's offset > * integer: row1's offset > * .... > * column family > * integer: dataSize -- This message was sent by Atlassian JIRA (v6.3.4#6332)