You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by GitBox <gi...@apache.org> on 2022/09/14 10:31:00 UTC

[GitHub] [incubator-seatunnel] ashulin opened a new issue, #2730: [spark] jdbc sink don't resolve the extra jdbc options

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: commits-unsubscribe@seatunnel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] github-actions[bot] commented on issue #2730: [spark] jdbc sink don't resolve the extra jdbc options

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #2730:
URL: https://github.com/apache/incubator-seatunnel/issues/2730#issuecomment-1287559591

   This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] github-actions[bot] commented on issue #2730: [spark] jdbc sink don't resolve the extra jdbc options

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #2730:
URL: https://github.com/apache/incubator-seatunnel/issues/2730#issuecomment-1279613122

   This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] github-actions[bot] closed issue #2730: [spark] jdbc sink don't resolve the extra jdbc options

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #2730: [spark] jdbc sink don't resolve the extra jdbc options
URL: https://github.com/apache/incubator-seatunnel/issues/2730


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org