[ 
https://issues.apache.org/jira/browse/IMPALA-10700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17355414#comment-17355414
 ] 

Vihang Karajgaonkar commented on IMPALA-10700:
----------------------------------------------

Hi [~shajini] Can you please help document this query option when you get some 
time? Thanks a lot!

> Introduce an option to skip deleting column statistics on truncate
> ------------------------------------------------------------------
>
>                 Key: IMPALA-10700
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10700
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Catalog
>            Reporter: Vihang Karajgaonkar
>            Assignee: Vihang Karajgaonkar
>            Priority: Major
>             Fix For: Impala 4.0
>
>
> Currently when a user issues {{truncate table}} command on a 
> non-transactional table, catalogd also deletes the table and column 
> statistics. However, this can affect the performance of the truncate 
> operation especially at high concurrency. Based on preliminary research it 
> looks like other databases do not delete statistics after truncate operation 
> (e.g Oracle, Hive). It would be good to introduce a query option which can 
> set by the user to skip deleting the column statistics during the truncate 
> table execution.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to