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 8673D200C5D for ; Fri, 24 Mar 2017 01:12:48 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 84C91160B95; Fri, 24 Mar 2017 00:12:48 +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 C92F1160B83 for ; Fri, 24 Mar 2017 01:12:47 +0100 (CET) Received: (qmail 71207 invoked by uid 500); 24 Mar 2017 00:12:47 -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 71196 invoked by uid 99); 24 Mar 2017 00:12:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Mar 2017 00:12:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 92DDA1889E9 for ; Fri, 24 Mar 2017 00:12:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 6LIxL2HoK2d3 for ; Fri, 24 Mar 2017 00:12:46 +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 B13305FBA0 for ; Fri, 24 Mar 2017 00:12:45 +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 2AD3DE0026 for ; Fri, 24 Mar 2017 00:12:42 +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 D41E721DD5 for ; Fri, 24 Mar 2017 00:12:41 +0000 (UTC) Date: Fri, 24 Mar 2017 00:12:41 +0000 (UTC) From: "Samarth Jain (JIRA)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (PHOENIX-3560) Aggregate query performance is worse with encoded columns for schema with large number of columns MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 24 Mar 2017 00:12:48 -0000 [ https://issues.apache.org/jira/browse/PHOENIX-3560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Samarth Jain resolved PHOENIX-3560. ----------------------------------- Resolution: Information Provided > Aggregate query performance is worse with encoded columns for schema with large number of columns > ------------------------------------------------------------------------------------------------- > > Key: PHOENIX-3560 > URL: https://issues.apache.org/jira/browse/PHOENIX-3560 > Project: Phoenix > Issue Type: Sub-task > Reporter: Mujtaba Chohan > Assignee: Samarth Jain > Fix For: 4.11.0 > > Attachments: DataGenerator.java, PHOENIX-3565.patch > > > 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 test, there are no null columns and each column contains 200 chars i.e. 1MB of data per row. > Count * aggregation is about 5X slower with encoded columns when compared to table non-encoded columns using the same schema. -- This message was sent by Atlassian JIRA (v6.3.15#6346)