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

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

Github user nonstop-qfchen commented on a diff in the pull request:

    https://github.com/apache/incubator-trafodion/pull/102#discussion_r41274151
  
    --- Diff: core/sql/regress/seabase/EXPECTED011 ---
    @@ -299,8 +299,10 @@ LC   RC   OP   OPERATOR              OPT       
DESCRIPTION           CARD
     LC   RC   OP   OPERATOR              OPT       DESCRIPTION           CARD
     ---- ---- ---- --------------------  --------  --------------------  
---------
     
    -1    .    2    root                  o         x                     
2.00E+000
    -.    .    1    trafodion_delete                T011T1                
2.00E+000
    +3    .    4    root                            x                     
2.00E+000
    --- End diff --
    
    I was surprised to see plan change for deleting very few number of rows.  
Sounds like we need to run some performance tests?


> 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)

Reply via email to