摘要
关系型数据库对于高关联性数据处理性能较低,对查询而言就会产生大量的连接操作,并且不适用于挖掘信息之间潜在的关联关系。针对以上的问题,提出一种基于消息队列的多关系型数据库向图数据库转换与同步方法,并进行设计与实现。首先定义数据的转换与同步方法,依据先节点后边的原则对数据进行转换,结合映射表以及触发器实现数据的同步,使用JSON完成数据网络传输,图查询语言接口操作图数据库。然后采用Java语言与RabbitMQ进行实现与测试。
Relational databases have low processing performance for high-relationship data,and will generate a large number of connection operations for queries,and are not suitable for mining potential correlations between information.Aiming at the above problems,a message queue-based multi-relational database to graph database conversion and synchronization method is proposed,and the design and implementation are carried out.First define the data conversion and synchronization method,convert the data according to the principle of“node first,then edge”,combine the mapping table and trigger to realize data synchronization,use JSON to complete the data network transmission,and use the graph query language interface to operate the graph database.Then use Java language and RabbitMQ to implement and test.
作者
郭良银
Guo Liangyin(Manufacturing Industry Chains Collaboration and Information Support Technology Key Laboratory of Sichuan Province,Southwest Jiaotong University,Chengdu 611756,China)
出处
《现代计算机》
2023年第10期42-49,共8页
Modern Computer