Skip to content

Conversation

@xxsc0529
Copy link
Contributor

@xxsc0529 xxsc0529 commented Apr 3, 2025

[desc]
The bypass import function has a very high processing efficiency in Oceanbase's big data synchronization, which greatly reduces the resource pressure on the client. close #2282
[Parameter description]
"directPath":"true", to enable bypass import,
"rpcPort":"", to set the port to be bypassed,
"parallel": number, the number of threads to be imported by bypass, the default is 1, the maximum is recommended not to exceed 100,
"heartBeatInterval": The number of heartbeats interval should be greater than 1000, but there is no default number,
"heartBeatTimeout": the number, the number of timeouts, and the difference between the heartbeat interval must be greater than 4000, but there is no default. These are bypass parameters, others are datax general parameters
"bufferSize":The size of the data slice by bypass is 1 MB(1048576) by default,The unit is bytes.
[example]
{ "job":{ "content":[ { "reader":{ "name":"mysqlreader", "parameter":{ "column":[ "column1", "column2", "column3", "column4", "column5" ], "username":"user", "password":"pass", "connection":[ { "database":"dataworks", "jdbcUrl":["jdbc:mysql://ip:port/db"], "table":[ "tablename" ] } ] } }, "writer":{ "name":"oceanbasev10writer", "parameter":{ "batchSize":2048, "column":[ "column1", "column2", "column3", "column4", "column5" ], "connection":[ { "database":"db", "jdbcUrl":"jdbc:oceanbase://ip:port/db", "table":[ "tablename" ] } ], "database":"db", "datasource":"db", "dbMode":"mysql", "directPath":"true", "jdbcUrl":"jdbc:oceanbase://ip:port/db", "password":"pass", "postSql":[], "preSql":[], "rpcPort":"rpcport", "subType":"", "bufferSize": 1048576, "parallel": 8, "table":"table", "username":"user", "writeMode":"insert" } } } ], "setting":{ "errorLimit":{ "record":"0" }, "globalConfig":{ "keepDateSamePrecision":false }, "logView":{ "logViewEnable":"true" }, "speed":{ "channel":2, "concurrent":2, "throttle":false } } } }

@dingxiaobo dingxiaobo merged commit d82a5ae into alibaba:master Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feature] oceanbase plugin add direct path support

2 participants