当前位置:网站首页>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上查看相关源代码。
边栏推荐
- Project practice | excel export function
- 22-07-04 西安 尚好房-项目经验总结(01)
- 一篇文章带你走进cookie,session,Token的世界
- The research trend of map based comparative learning (gnn+cl) in the top paper
- Understanding of smt32h7 series DMA and DMAMUX
- OpenGL - Model Loading
- 项目实战 | Excel导出功能
- C language - input array two-dimensional array a from the keyboard, and put 3 in a × 5. The elements in the third column of the matrix are moved to the left to the 0 column, and the element rows in ea
- Composition of applet code
- OpenGL - Lighting
猜你喜欢
百度评论中台的设计与探索
An article takes you into the world of cookies, sessions, and tokens
Creation and reference of applet
Principle and performance analysis of lepton lossless compression
[reading notes] Figure comparative learning gnn+cl
C language - input array two-dimensional array a from the keyboard, and put 3 in a × 5. The elements in the third column of the matrix are moved to the left to the 0 column, and the element rows in ea
OpenGL - Coordinate Systems
Node の MongoDB Driver
基于模板配置的数据可视化平台
项目实战 | Excel导出功能
随机推荐
基于模板配置的数据可视化平台
【对象数组的排序】
干货整理!ERP在制造业的发展趋势如何,看这一篇就够了
Go 语言使用 MySQL 的常见故障分析和应对方法
【对象数组a与对象数组b取出id不同元素赋值给新的数组】
OpenGL - Lighting
MYSQL 对字符串类型排序不生效问题
[listening for an attribute in the array]
Kotlin introductory notes (I) kotlin variables and non variables
STM32简易多级菜单(数组查表法)
[two objects merged into one object]
[JS sort according to the attributes in the object array]
Wxss template syntax
c语言指针深入理解
Progressive JPEG pictures and related
揭秘百度智能测试在测试自动执行领域实践
Svg optimization by svgo
基于宽表的数据建模应用
Unity skframework framework (XXII), runtime console runtime debugging tool
Unity SKFramework框架(二十四)、Avatar Controller 第三人称控制