Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D7BA2112CB for ; Sat, 16 Aug 2014 18:39:19 +0000 (UTC) Received: (qmail 48329 invoked by uid 500); 16 Aug 2014 18:39:18 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 48258 invoked by uid 500); 16 Aug 2014 18:39:18 -0000 Mailing-List: contact dev-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 dev@hive.apache.org Received: (qmail 48097 invoked by uid 500); 16 Aug 2014 18:39:18 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 48075 invoked by uid 99); 16 Aug 2014 18:39:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Aug 2014 18:39:18 +0000 Date: Sat, 16 Aug 2014 18:39:18 +0000 (UTC) From: "pengcheng xiong (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-7736) improve the columns stats update speed for all the partitions of a table MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-7736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] pengcheng xiong updated HIVE-7736: ---------------------------------- Status: Patch Available (was: Open) improve the columns stats update speed for all the partitions of a table through MetaStoreDirectSQL > improve the columns stats update speed for all the partitions of a table > ------------------------------------------------------------------------ > > Key: HIVE-7736 > URL: https://issues.apache.org/jira/browse/HIVE-7736 > Project: Hive > Issue Type: Improvement > Reporter: pengcheng xiong > Assignee: pengcheng xiong > Priority: Minor > Attachments: HIVE-7736.0.patch, HIVE-7736.1.patch > > > The current implementation of columns stats update for all the partitions of a table takes a long time when there are thousands of partitions. > For example, on a given cluster, it took 600+ seconds to update all the partitions' columns stats for a table with 2 columns but 2000 partitions. > ANALYZE TABLE src_stat_part partition (partitionId) COMPUTE STATISTICS for columns; > We would like to improve the columns stats update speed for all the partitions of a table -- This message was sent by Atlassian JIRA (v6.2#6252)