面向异构数据库同步的分布式消息中间件

Xiao Wu, Hui Wang, Ying Xiong, Qian Qiang, Gaochao Li, Xin Jin, Tao Qin, Lidong Wang
{"title":"面向异构数据库同步的分布式消息中间件","authors":"Xiao Wu, Hui Wang, Ying Xiong, Qian Qiang, Gaochao Li, Xin Jin, Tao Qin, Lidong Wang","doi":"10.1109/ICAIT.2018.8686500","DOIUrl":null,"url":null,"abstract":"With the rapid development of the Internet, the traditional stand-alone database cannot meet the needs of massive log storage and high concurrent users' access, so the distributed database came into being. The distributed database is faced with the challenge of data inconsistency due to the complexity of the local database that makes up the distributed database, such as physical location decentralization, different operating systems on the underlying layer and the different ISPs on the network, so this paper designs a distributed message middleware to synchronize heterogeneous database. The paper presents a method of capturing incremental data based on triggers and log tables to get dynamic incremental data after DML operations on the source database. The paper presents a reliable and real-time message transmission mechanism to guarantee the reliability of the message, namely the order consistency and the exactly-once semantics in the process of message transmission. The paper presents a method of generating full data based on real-time computation of incremental data to achieve the high scalability of the destination database and the high availability of the source database service. It can be seen that the paper designs a highly message-oriented reliable, highly architecture-oriented scalable and highly service-based available distributed message middleware to realize heterogeneous databases synchronization. Based on this distributed middleware, this paper designs and implements a prototype system named SUNVE that supports synchronization service from Oracle to PostgreSQL. The final test shows that: SUNVE strictly guarantees the data consistency between the destination database and the source database. The message transmission of SUNVE is the timeliest and its speed is nearly 2 times to that of Kafka and RocketMQ.","PeriodicalId":367029,"journal":{"name":"2018 10th International Conference on Advanced Infocomm Technology (ICAIT)","volume":"120 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"SUNVE: Distributed Message Middleware towards Heterogeneous Database Synchronization\",\"authors\":\"Xiao Wu, Hui Wang, Ying Xiong, Qian Qiang, Gaochao Li, Xin Jin, Tao Qin, Lidong Wang\",\"doi\":\"10.1109/ICAIT.2018.8686500\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"With the rapid development of the Internet, the traditional stand-alone database cannot meet the needs of massive log storage and high concurrent users' access, so the distributed database came into being. The distributed database is faced with the challenge of data inconsistency due to the complexity of the local database that makes up the distributed database, such as physical location decentralization, different operating systems on the underlying layer and the different ISPs on the network, so this paper designs a distributed message middleware to synchronize heterogeneous database. The paper presents a method of capturing incremental data based on triggers and log tables to get dynamic incremental data after DML operations on the source database. The paper presents a reliable and real-time message transmission mechanism to guarantee the reliability of the message, namely the order consistency and the exactly-once semantics in the process of message transmission. The paper presents a method of generating full data based on real-time computation of incremental data to achieve the high scalability of the destination database and the high availability of the source database service. It can be seen that the paper designs a highly message-oriented reliable, highly architecture-oriented scalable and highly service-based available distributed message middleware to realize heterogeneous databases synchronization. Based on this distributed middleware, this paper designs and implements a prototype system named SUNVE that supports synchronization service from Oracle to PostgreSQL. The final test shows that: SUNVE strictly guarantees the data consistency between the destination database and the source database. The message transmission of SUNVE is the timeliest and its speed is nearly 2 times to that of Kafka and RocketMQ.\",\"PeriodicalId\":367029,\"journal\":{\"name\":\"2018 10th International Conference on Advanced Infocomm Technology (ICAIT)\",\"volume\":\"120 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2018-08-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2018 10th International Conference on Advanced Infocomm Technology (ICAIT)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICAIT.2018.8686500\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2018 10th International Conference on Advanced Infocomm Technology (ICAIT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICAIT.2018.8686500","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

摘要

随着互联网的快速发展,传统的单机数据库已不能满足海量日志存储和用户高并发访问的需求,分布式数据库应运而生。由于组成分布式数据库的本地数据库的复杂性,如物理位置的分散、底层操作系统的不同以及网络上isp的不同等,使得分布式数据库面临数据不一致的挑战,因此本文设计了一种分布式消息中间件来实现异构数据库的同步。本文提出了一种基于触发器和日志表的增量数据捕获方法,以便在对源数据库进行DML操作后获得动态增量数据。为了保证消息的可靠性,即消息传输过程中的顺序一致性和精确一次语义,本文提出了一种可靠的实时消息传输机制。本文提出了一种基于增量数据实时计算生成全数据的方法,以实现目标数据库的高可扩展性和源数据库服务的高可用性。可以看出,本文设计了一个高度面向消息的可靠、高度面向体系结构的可扩展性和高度基于服务的可用的分布式消息中间件来实现异构数据库的同步。基于此分布式中间件,本文设计并实现了一个支持Oracle到PostgreSQL同步服务的原型系统SUNVE。最后的测试表明:SUNVE严格保证了目标数据库和源数据库之间的数据一致性。SUNVE的消息传输最及时,速度是Kafka和RocketMQ的近2倍。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
SUNVE: Distributed Message Middleware towards Heterogeneous Database Synchronization
With the rapid development of the Internet, the traditional stand-alone database cannot meet the needs of massive log storage and high concurrent users' access, so the distributed database came into being. The distributed database is faced with the challenge of data inconsistency due to the complexity of the local database that makes up the distributed database, such as physical location decentralization, different operating systems on the underlying layer and the different ISPs on the network, so this paper designs a distributed message middleware to synchronize heterogeneous database. The paper presents a method of capturing incremental data based on triggers and log tables to get dynamic incremental data after DML operations on the source database. The paper presents a reliable and real-time message transmission mechanism to guarantee the reliability of the message, namely the order consistency and the exactly-once semantics in the process of message transmission. The paper presents a method of generating full data based on real-time computation of incremental data to achieve the high scalability of the destination database and the high availability of the source database service. It can be seen that the paper designs a highly message-oriented reliable, highly architecture-oriented scalable and highly service-based available distributed message middleware to realize heterogeneous databases synchronization. Based on this distributed middleware, this paper designs and implements a prototype system named SUNVE that supports synchronization service from Oracle to PostgreSQL. The final test shows that: SUNVE strictly guarantees the data consistency between the destination database and the source database. The message transmission of SUNVE is the timeliest and its speed is nearly 2 times to that of Kafka and RocketMQ.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信