Return-Path: X-Original-To: apmail-phoenix-dev-archive@minotaur.apache.org Delivered-To: apmail-phoenix-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E113F10E8D for ; Tue, 30 Dec 2014 04:51:33 +0000 (UTC) Received: (qmail 30999 invoked by uid 500); 30 Dec 2014 04:51:34 -0000 Delivered-To: apmail-phoenix-dev-archive@phoenix.apache.org Received: (qmail 30947 invoked by uid 500); 30 Dec 2014 04:51:34 -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 30936 invoked by uid 99); 30 Dec 2014 04:51:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Dec 2014 04:51:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 30 Dec 2014 04:51:33 +0000 Received: (qmail 28245 invoked by uid 99); 30 Dec 2014 04:51:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Dec 2014 04:51:13 +0000 Date: Tue, 30 Dec 2014 04:51:13 +0000 (UTC) From: "ramkrishna.s.vasudevan (JIRA)" To: dev@phoenix.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (PHOENIX-1565) Estimate byte count more accurately when split occurs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/PHOENIX-1565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ramkrishna.s.vasudevan updated PHOENIX-1565: -------------------------------------------- Attachment: Phoenix-1565.patch Adding the patch that corrects only the byteSize. While finishing Phoenix-1453 will update the same for rowSize also. > Estimate byte count more accurately when split occurs > ----------------------------------------------------- > > Key: PHOENIX-1565 > URL: https://issues.apache.org/jira/browse/PHOENIX-1565 > Project: Phoenix > Issue Type: Sub-task > Reporter: James Taylor > Attachments: Phoenix-1565.patch > > > We're currently always dividing the byteCount by two when we split a region. Instead, we should calculate a percentage based on the index into the guidepost array as this will be more accurate. -- This message was sent by Atlassian JIRA (v6.3.4#6332)