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}
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.