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

ASF GitHub Bot commented on TRAFODION-2673:
-------------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/incubator-trafodion/pull/1154


> Improve performance of incremental UPDATE STATISTICS
> ----------------------------------------------------
>
>                 Key: TRAFODION-2673
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2673
>             Project: Apache Trafodion
>          Issue Type: Improvement
>          Components: sql-cmp
>    Affects Versions: 2.2-incubating
>         Environment: All, but most noticeable on large sample tables
>            Reporter: David Wayne Birdsall
>            Assignee: David Wayne Birdsall
>
> When running an incremental UPDATE STATISTICS utility, rows satisfying the 
> WHERE clause are first deleted from the sample table, then replaced with a 
> new sample taken from the base table.
> The statement used to delete rows from the sample table is a vanilla DELETE, 
> which performs poorly when the set of rows to be deleted is large. It would 
> be better (and much faster) to use DELETE NO ROLLBACK.



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

Reply via email to