You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by ic...@apache.org on 2023/01/11 10:50:16 UTC

[incubator-seatunnel] branch dev updated: [Doc][JDBC] add some tips in jdbc sink doc (#3916)

This is an automated email from the ASF dual-hosted git repository.

ic4y pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel.git


The following commit(s) were added to refs/heads/dev by this push:
     new 4cecf607a [Doc][JDBC] add some tips in jdbc sink doc (#3916)
4cecf607a is described below

commit 4cecf607ae9e8ddf5c75bfa5931b8240b89b3224
Author: ic4y <83...@users.noreply.github.com>
AuthorDate: Wed Jan 11 18:50:09 2023 +0800

    [Doc][JDBC] add some tips in jdbc sink doc (#3916)
---
 docs/en/connector-v2/sink/Jdbc.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/docs/en/connector-v2/sink/Jdbc.md b/docs/en/connector-v2/sink/Jdbc.md
index c01b173b2..6fcd13dd5 100644
--- a/docs/en/connector-v2/sink/Jdbc.md
+++ b/docs/en/connector-v2/sink/Jdbc.md
@@ -132,6 +132,7 @@ Sink plugin common parameters, please refer to [Sink Common Options](common-opti
 In the case of is_exactly_once = "true", Xa transactions are used. This requires database support, and some databases require some setup : 
   1 postgres needs to set `max_prepared_transactions > 1` such as `ALTER SYSTEM set max_prepared_transactions to 10`.
   2 mysql version need >= `8.0.29` and Non-root users need to grant `XA_RECOVER_ADMIN` permissions. such as `grant XA_RECOVER_ADMIN on test_db.* to 'user1'@'%'`.
+  3 mysql can try to add `rewriteBatchedStatements=true` parameter in url for better performance.
 
 ## appendix