You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sourabh Badhya (Jira)" <ji...@apache.org> on 2022/12/19 12:36:00 UTC
[jira] [Commented] (HIVE-26788) Update stats of table/partition using noscan operation when stats autogather is enabled
[ https://issues.apache.org/jira/browse/HIVE-26788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17649302#comment-17649302 ]
Sourabh Badhya commented on HIVE-26788:
---------------------------------------
Thanks [~dkuzmenko] and [~veghlaci05] for the reviews.
> Update stats of table/partition using noscan operation when stats autogather is enabled
> ---------------------------------------------------------------------------------------
>
> Key: HIVE-26788
> URL: https://issues.apache.org/jira/browse/HIVE-26788
> Project: Hive
> Issue Type: Improvement
> Reporter: Sourabh Badhya
> Assignee: Sourabh Badhya
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
> Time Spent: 5h 40m
> Remaining Estimate: 0h
>
> Currently, statistics are always updated for major compaction and never updated for minor compaction since minor compaction performs little updates on the statistics (such as number of files in table/partition & total size of the table/partition). It is better to utilize NOSCAN operation for both these compaction since NOSCAN operations performs faster update of statistics and updates the relevant fields such as number of files & total sizes of the table/partitions if stats autogather is enabled. If autostats gather is disabled then go for full update of statistics.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)