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 44542200BD8 for ; Wed, 23 Nov 2016 02:23:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 43112160B0C; Wed, 23 Nov 2016 01:23:00 +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 B9D29160B1E for ; Wed, 23 Nov 2016 02:22:59 +0100 (CET) Received: (qmail 57972 invoked by uid 500); 23 Nov 2016 01:22:58 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 57857 invoked by uid 99); 23 Nov 2016 01:22:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Nov 2016 01:22:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 80DE72C4C73 for ; Wed, 23 Nov 2016 01:22:58 +0000 (UTC) Date: Wed, 23 Nov 2016 01:22:58 +0000 (UTC) From: "Rajesh Balamohan (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-15250) Reuse partitions info generated in MoveTask to its subscribers (StatsTask) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 23 Nov 2016 01:23:00 -0000 [ https://issues.apache.org/jira/browse/HIVE-15250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajesh Balamohan updated HIVE-15250: ------------------------------------ Attachment: HIVE-15250.2.patch > Reuse partitions info generated in MoveTask to its subscribers (StatsTask) > ----------------------------------------------------------------------------------------- > > Key: HIVE-15250 > URL: https://issues.apache.org/jira/browse/HIVE-15250 > Project: Hive > Issue Type: Improvement > Components: Metastore > Reporter: Rajesh Balamohan > Assignee: Rajesh Balamohan > Priority: Minor > Attachments: HIVE-15250.1.patch, HIVE-15250.2.patch > > > When dynamic partitions are enabled, {{StatsTask}} loads partition information by querying metastore. In cases like {{insert overwrite table}}, this can be expensive operation depending on the number of partitions involved (for e.g, in tpcds populating web_returns table would incur 2184 DB calls just on this function). > It would be good to pass on the partition information generated in MoveTask to its subscribers to reduce the number of DB calls. -- This message was sent by Atlassian JIRA (v6.3.4#6332)