当前位置:网站首页>TDengine可通过数据同步工具 DataX读写
TDengine可通过数据同步工具 DataX读写
2022-07-05 09:28:00 【涛思数据(TDengine)】
小 T 导读:DataX 是由阿里云开源的离线数据同步工具/平台,目前已经支持多种主流异构数据源在内的高效的数据互相同步功能。我们的研发团队完成了 TDengine 的适配,相关代码已被 DataX 官方接受并合并到主干中。
DataX 是由阿里云开源的离线数据同步工具/平台,目前已经实现了包括 MySQL、Oracle、OceanBase、SQL Server、PostgreSQL、HDFS、Hive、HBase 等多种异构数据源在内的高效的数据互相同步功能。
DataX 的设计思路是:
DataX 本身作为数据同步框架,将不同数据源的同步抽象为从数据源读取数据的
Reader插件,以及向目标端写入数据的Writer插件,理论上 DataX 框架可以支持任意数据源类型的数据同步工作。同时 DataX 插件体系作为一套生态系统,每接入一套新数据源,就可以实现该数据源和现有数据源的互通。
基于该设计思路,我们的研发团队完成了 TDengine 的适配,实现了 TDengineReader 和 TDengineWriter 两个插件,并被 DataX 官方接受,合并到了其主干中。
TDengineReader 提供的功能包括:
- 支持通过 SQL 进行数据筛选;
- 根据时间间隔进行任务切分;
- 支持 TDengine 的全部数据类型;
- 支持批量读取,可以通过
batchSize参数控制批量拉取结果集的大小,从而提高读取性能。
TDengineWriter 支持的功能包括:
- 支持 OpenTSDB 的 json 格式的行协议,可以使用 TDengine 的 Schemaless 方式写入 TDengine。
- 支持批量写入,可以通过
batchSize参数控制批量写入的数量,从而提高写入性能。
目前 TDengine 已经加入 DataX 正式支持的数据库列表中。

现在,如果用户要将历史 Database(比如 MySQL、OpenTSDB 等)中的数据迁移到 TDengine,或者将 TDengine 中的数据导出,就可以利用 DataX 来实现了。
更多使用细节,可以参考“基于 DataX 的 TDengine 数据迁移工具”一文。
基于 DataX 的 TDengineWriter 和 TDengineReader 的实现和最新动态,请关注:https://github.com/taosdata/DataX
想了解更多 TDengine Database的具体细节,欢迎大家在GitHub上查看相关源代码。
边栏推荐
- c语言指针深入理解
- SQL learning alter add new field
- An article takes you into the world of cookies, sessions, and tokens
- Hosting environment API
- Hi Fun Summer, play SQL planner with starrocks!
- AUTOSAR from getting started to mastering 100 lectures (103) -dbc file format and creation details
- Information and entropy, all you want to know is here
- SMT32H7系列DMA和DMAMUX的一点理解
- High performance spark_ Transformation performance
- LeetCode 503. Next bigger Element II
猜你喜欢

百度交易中台之钱包系统架构浅析

SQL learning - case when then else

Using request headers to develop multi terminal applications

【ManageEngine】如何利用好OpManager的报表功能

LeetCode 503. 下一个更大元素 II

Nips2021 | new SOTA for node classification beyond graphcl, gnn+ comparative learning

利用请求头开发多端应用

Kotlin introductory notes (VIII) collection and traversal

How to improve the operation efficiency of intra city distribution

AUTOSAR from getting started to mastering 100 lectures (103) -dbc file format and creation details
随机推荐
[object array A and object array B take out different elements of ID and assign them to the new array]
Using request headers to develop multi terminal applications
How do enterprises choose the appropriate three-level distribution system?
[ManageEngine] how to make good use of the report function of OpManager
Applet data attribute method
An article takes you into the world of cookies, sessions, and tokens
阿里十年测试带你走进APP测试的世界
The most comprehensive promotion strategy: online and offline promotion methods of E-commerce mall
[JS sort according to the attributes in the object array]
Node の MongoDB Driver
Applet global style configuration window
【el-table如何禁用】
Kotlin introductory notes (IV) circular statements (simple explanation of while, for)
项目实战 | Excel导出功能
OpenGL - Lighting
C # image difference comparison: image subtraction (pointer method, high speed)
[listening for an attribute in the array]
High performance spark_ Transformation performance
Unity skframework framework (XXIII), minimap small map tool
Talking about the difference between unittest and pytest