You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Joe McDonnell (JIRA)" <ji...@apache.org> on 2017/10/13 21:58:00 UTC

[jira] [Created] (IMPALA-6056) Dataload from snapshot should only compute statistics for new tables

Joe McDonnell created IMPALA-6056:
-------------------------------------

             Summary: Dataload from snapshot should only compute statistics for new tables
                 Key: IMPALA-6056
                 URL: https://issues.apache.org/jira/browse/IMPALA-6056
             Project: IMPALA
          Issue Type: Improvement
          Components: Infrastructure
    Affects Versions: Impala 2.10.0
            Reporter: Joe McDonnell


When loading data from a snapshot, create-load-data.sh runs compute-table-stats.sh, which will compute statistics for all of the tables. However, the hive metastore snapshot already contains statistics from most of those tables. Only the Kudu tables are created from scratch in the load from snapshot.

Computing the statistics for everything takes 11 minutes, whereas computing statistics only for Kudu takes roughly 3 minutes. This is a meaningful savings and hand tests show that only computing statistics for the Kudu tables does not impact subsequent tests.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)