当前位置:网站首页>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上查看相关源代码。
边栏推荐
- Lepton 无损压缩原理及性能分析
- Android 隐私沙盒开发者预览版 3: 隐私安全和个性化体验全都要
- 基于STM32单片机的测温仪(带人脸检测)
- Can't find the activitymainbinding class? The pit I stepped on when I just learned databinding
- Understanding of smt32h7 series DMA and DMAMUX
- 【sourceTree配置SSH及使用】
- OpenGL - Coordinate Systems
- Kotlin introductory notes (II) a brief introduction to kotlin functions
- Ministry of transport and Ministry of Education: widely carry out water traffic safety publicity and drowning prevention safety reminders
- 信息与熵,你想知道的都在这里了
猜你喜欢

Applet network data request

LeetCode 496. 下一个更大元素 I

Go 语言使用 MySQL 的常见故障分析和应对方法

What should we pay attention to when developing B2C websites?
![[reading notes] Figure comparative learning gnn+cl](/img/44/2e13d63ef654663852cbccb342b838.png)
[reading notes] Figure comparative learning gnn+cl

How to improve the operation efficiency of intra city distribution

基于宽表的数据建模应用

Kotlin introductory notes (VII) data class and singleton class

An article takes you into the world of cookies, sessions, and tokens

Unity skframework framework (XXIII), minimap small map tool
随机推荐
Analysis of eventbus source code
OpenGL - Lighting
MySQL does not take effect in sorting string types
Community group buying has triggered heated discussion. How does this model work?
图神经网络+对比学习,下一步去哪?
How to choose the right chain management software?
STM32简易多级菜单(数组查表法)
【愚公系列】2022年7月 Go教学课程 003-IDE的安装和基本使用
云计算技术热点
Applet network data request
Information and entropy, all you want to know is here
A keepalived high availability accident made me learn it again
LeetCode 496. Next larger element I
Lepton 无损压缩原理及性能分析
百度评论中台的设计与探索
植物大战僵尸Scratch
How do enterprises choose the appropriate three-level distribution system?
C语言-从键盘输入数组二维数组a,将a中3×5矩阵中第3列的元素左移到第0列,第3列以后的每列元素行依次左移,原来左边的各列依次绕到右边
基于STM32单片机的测温仪(带人脸检测)
【对象数组的排序】