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 5B223200C2F for ; Mon, 6 Mar 2017 22:42:39 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 59A5E160B66; Mon, 6 Mar 2017 21:42:39 +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 A6D63160B76 for ; Mon, 6 Mar 2017 22:42:38 +0100 (CET) Received: (qmail 63857 invoked by uid 500); 6 Mar 2017 21:42:37 -0000 Mailing-List: contact dev-help@phoenix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.apache.org Delivered-To: mailing list dev@phoenix.apache.org Received: (qmail 63846 invoked by uid 99); 6 Mar 2017 21:42:37 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Mar 2017 21:42:37 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 765A2C115C for ; Mon, 6 Mar 2017 21:42:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.451 X-Spam-Level: * X-Spam-Status: No, score=1.451 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Stu9s6GXBDng for ; Mon, 6 Mar 2017 21:42:37 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id A736B60DFC for ; Mon, 6 Mar 2017 21:42:36 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id C0EDEE0A0D for ; Mon, 6 Mar 2017 21:42:33 +0000 (UTC) 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 287032417C for ; Mon, 6 Mar 2017 21:42:33 +0000 (UTC) Date: Mon, 6 Mar 2017 21:42:33 +0000 (UTC) From: "Mujtaba Chohan (JIRA)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PHOENIX-3559) More disk space used with encoded column scheme with data in sparse columns MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 06 Mar 2017 21:42:39 -0000 [ https://issues.apache.org/jira/browse/PHOENIX-3559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15898193#comment-15898193 ] Mujtaba Chohan commented on PHOENIX-3559: ----------------------------------------- Correct [~giacomotaylor] it's for documentation and somewhat circumvented by using snappy compression. > More disk space used with encoded column scheme with data in sparse columns > --------------------------------------------------------------------------- > > Key: PHOENIX-3559 > URL: https://issues.apache.org/jira/browse/PHOENIX-3559 > Project: Phoenix > Issue Type: Sub-task > Reporter: Mujtaba Chohan > Fix For: 4.10.0 > > > Schema with 5K columns > {noformat} > create table (k1 integer, k2 integer, c1 varchar ... c5000 varchar CONSTRAINT PK PRIMARY KEY (K1, K2)) > VERSIONS=1, MULTI_TENANT=true, IMMUTABLE_ROWS=true > {noformat} > In this schema, only 100 random columns are filled with random 15 chars. Rest are nulls. > Data size is *6X* larger with encoded columns scheme compare to non-encoded. That is 12GB/1M rows encoded vs ~2GB/1M rows non-encoded. > When compressed GZ, size with encoded column scheme is still 35% higher. -- This message was sent by Atlassian JIRA (v6.3.15#6346)