ashulin opened a new issue, #2730:
URL: https://github.com/apache/incubator-seatunnel/issues/2730

   ### Discussed in 
https://github.com/apache/incubator-seatunnel/discussions/2696
   
   <div type='discussions-op-text'>
   
   <sup>Originally posted by **isMrH** September  9, 2022</sup>
   I want to control the number of processes that `sink JDBC` writes to tidb 
and the `batch size`.
   How should I configure it?
   
   The configuration file is as follows:
   ```
   sink {
     jdbc {
       driver = "com.mysql.cj.jdbc.Driver"
       saveMode = "update"
       url = 
"jdbc:mysql://xx.xx.xx.xx:4000/xxx?&useConfigs=maxPerformance&useServerPrepStmts=true&prepStmtCacheSqlLimit=2048&prepStmtCacheSize=256&rewriteBatchedStatements=true&allowMultiQueries=true"
       user = "tidb"
       password = "tidb"
       dbTable = "table"
       isolationLevel = "NONE"
       source_table_name = "source_table_name"
     }
   }
   ```
   error:
   ```
   java.sql.BatchUpdateException: Out Of Memory Quota!
   ```
   
   start:
   ```
   ./bin/start-seatunnel-spark.sh 
   ```
   </div>


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