当前位置:网站首页>Tips for speeding up kettle insertion
Tips for speeding up kettle insertion
2022-06-10 04:47:00 【Maple Leaf pear flower】
Our company uses the most for data transmission Kettle,Kettle It's an open source software , It is convenient to configure data transmission between heterogeneous databases 、 Easy to use , Very easy to use . But I have neglected a problem before . He is still based on JDBC Of , So one parameter is particularly important rewriteBatchedStatements, Set this parameter to true You can perform batch processing with higher performance , Speed up insertion .
Setting mode
Interface settings
If we use the interface configuration, we can use the following settings


Code mode
Properties properties = new Properties();
properties.put("EXTRA_OPTION_MYSQL.serverTimezone","Asia/Shanghai");
properties.put("EXTRA_OPTION_MYSQL.useSSL","true");
properties.setProperty("EXTRA_OPTION_MYSQL.rewriteBatchedStatements","true");
DatabaseMeta targetDataMeta =
new DatabaseMeta("test", "MySQL", "Native","localhost", "test", "3306", "root", "root");
targetDataMeta.setDBPort("3306");
targetDataMeta.setAttributes(properties);
transMeta.addDatabase(targetDataMeta);
Use the above method , Normal, we can speed it up Kettle Speed of insertion .
边栏推荐
- 如何使用ODX描述诊断会话和安全等级
- Detailed explanation of thread pool creation method
- 【通用数据库工具】上海道宁为开发者、分析师、数据库管理员带来适用于所有数据库和操作系统的工具——DbVisualizer
- 昇腾910上分布式加载模型与增量训练
- APISpace 疫情地区校验API接口 免费好用
- Review of major events | quick view of important developments of eolink in May!
- Celery | task queue artifact
- .NET C#基础(7):接口 - 人如何和猫互动
- Temporary global variables and iritemp database
- Mindspire's nn Can pad specify dimension filling
猜你喜欢

25. BOM事件

Zero basic network: command line (CLI) debugging firewall practice

Deep learning and CV tutorial (13) | target detection (SSD, Yolo Series)

Test concept

Gevent | use it asynchronously!

城市/学校/专业,哪个在选大学时最重要? | 每日趣闻

Error occurs when the mindspire tutorial is run online

Yuandao communication has passed the registration: its annual revenue is 1.625 billion yuan, and its performance is highly dependent on China Mobile
![mindspore训练阶段报错:Not find op[Add] in akg](/img/df/5ccc43e0d115b487dc3a38129bc88b.png)
mindspore训练阶段报错:Not find op[Add] in akg

What are the advantages of multi merchant mall applet source code?
随机推荐
Mysql database (25): foreing key
Fastapi-15-file upload-3
Pysimplegui classic practice: how to read this Chinese character?
Use mindspire in gpu-national/ cpu-graph_ Mode and gpu-graph_ Inconsistent mode execution
Temporary global variables and iritemp database
加快Kettle插入速度的小技巧
Review of major events | quick view of important developments of eolink in May!
How to use API interface of national weather forecast for rapid development
Detailed explanation of tcp/ip protocol mechanism
Informatics Olympiad all in one 1279: [example 9.23] window layout | window layout of Luogu p1854 flower shop
2022.5.28-----leetcode. one thousand and twenty-one
JMeter testing TCP million connections
Fastapi-14-file upload-2
Using kubekey to build kubernetes/kubesphere environment
Tutorial on using midway
25. BOM事件
Apispace sunrise sunset API interface is free and easy to use
Informatics Olympiad all in one 1287: minimum toll | openjudge noi 2.6 7614: minimum toll
Mindspire [dataset function] cannot view datasets
MindSpore【数据集功能】无法查看数据集