[
https://issues.apache.org/jira/browse/TRAFODION-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14724427#comment-14724427
]
David Wayne Birdsall commented on TRAFODION-25:
-----------------------------------------------
The pull request above added an initial implementation of INSERT costing. Still
to come are UPDATE and DELETE costing. And in my research, I've already noticed
things in the INSERT costing that probably should be revised. For example, I
should be multiplying tuple counts by row size factors to get an "idealized"
tuple count. Other operators seem to do this.
> Insert, delete and update operators should use specialized cost method
> -----------------------------------------------------------------------
>
> Key: TRAFODION-25
> URL: https://issues.apache.org/jira/browse/TRAFODION-25
> Project: Apache Trafodion
> Issue Type: Bug
> Reporter: Qifan Chen
> Assignee: David Wayne Birdsall
> Labels: performance
>
> In Trafodion, insert, delete and update operators do not use a specialized
> cost method that model the true operation involved.
> As a result, these operators can be assigned a zero cost and the query plan
> may not be optimal. In one example, a delete query against a partitioned
> table may get a serial plan.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)