shouzuo meng created FLINK-29312:
------------------------------------

             Summary: Performance problems encountered when using 
StatementSetImpl#addInsertSql in Flink SQL
                 Key: FLINK-29312
                 URL: https://issues.apache.org/jira/browse/FLINK-29312
             Project: Flink
          Issue Type: Improvement
          Components: Table SQL / API
    Affects Versions: 1.14.2, 1.13.5
            Reporter: shouzuo meng


It is necessary to use insert in batches in a flink sql task. Through testing, 
it is found that when two insert statements are inserted using 
StatementSetImpl#addInsertSql, the resource usage is good. When there are more 
than two, using StatementSetImpl#addInsertSql will consume more resources.


The above resource usage statistics are based on the same environment, using 
StatementSetImpl#addInsertSql to compare the running situation when it is 
divided into multiple tasks according to the number of inserts. When there are 
more than two insert statements, the latter will use less resource.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to