immustard commented on issue #4790:
URL: https://github.com/apache/seatunnel/issues/4790#issuecomment-1621352787

   only adding 'rewriteBatchedStatements=true' is not enough. it also should 
add property 'batch_size' in the jdbc sink plugin.
   ```
   sink {
     Jdbc {
       url = "jdbc:mysql://192.168.0.4:3307/sql?rewriteBatchStatements=true"
       driver = "com.mysql.cj.jdbc.Driver"
       user = "root"
       password = "root"
       query = "insert into test1_copy2(brand,stt,edt) values(?,?,?)"
   
       batch_size = 3000
     }
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to