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 CB450200C0A for ; Fri, 13 Jan 2017 12:17:29 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id C9FFC160B32; Fri, 13 Jan 2017 11:17:29 +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 4CB98160B3F for ; Fri, 13 Jan 2017 12:17:29 +0100 (CET) Received: (qmail 86236 invoked by uid 500); 13 Jan 2017 11:17:28 -0000 Mailing-List: contact dev-help@kylin.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kylin.apache.org Delivered-To: mailing list dev@kylin.apache.org Received: (qmail 86215 invoked by uid 99); 13 Jan 2017 11:17:28 -0000 Received: from Unknown (HELO jira-lw-us.apache.org) (207.244.88.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jan 2017 11:17:28 +0000 Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 5FF932527F for ; Fri, 13 Jan 2017 11:17:26 +0000 (UTC) Date: Fri, 13 Jan 2017 11:17:26 +0000 (UTC) From: "Dayue Gao (JIRA)" To: dev@kylin.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (KYLIN-2386) Revert KYLIN-2349 and KYLIN-2353 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 13 Jan 2017 11:17:30 -0000 Dayue Gao created KYLIN-2386: -------------------------------- Summary: Revert KYLIN-2349 and KYLIN-2353 Key: KYLIN-2386 URL: https://issues.apache.org/jira/browse/KYLIN-2386 Project: Kylin Issue Type: Task Components: Metadata Affects Versions: v2.0.0 Reporter: Dayue Gao Assignee: Dayue Gao In KYLIN-2349 and KYLIN-2353, we optimized performance of BitmapCounter by changing its storage format. Cardinality and serialized size are recorded in the header of the new format, enables us to retrieve those information without deserialize the data. In fact, cardinality and serialized size can be quickly calculated just from the header of [roaring format|https://github.com/RoaringBitmap/RoaringFormatSpec/]. Performance tests show that we could achieve the same performance boost without the format change of BitmapCounter. The benefits are * no need to rebuild existing cube to get better performance * no need to maintain two formats and deal with compatibility issues -- This message was sent by Atlassian JIRA (v6.3.4#6332)