计算机与现代化

• 软件工程 • 上一篇    下一篇

基于图数据库的大规模配置管理数据库关联查询

  

  1. (中国移动通信集团广东有限公司,广东 广州 510640)
  • 收稿日期:2016-06-21 出版日期:2017-01-12 发布日期:2017-01-11
  • 作者简介:戴声(1986-),男,广东汕头人,中国移动通信集团广东有限公司工程师,硕士,研究方向:大规模公有云运维; 王波(1980-),男,工程师,本科,研究方向:大规模公有云运维。

Relational Query in Large-scale Configuration Management Database Based on Graph Database

  1. (China Mobile Group Guangdong Co., Ltd., Guangzhou 510640, China)
  • Received:2016-06-21 Online:2017-01-12 Published:2017-01-11

摘要: 在基于关系型数据库构建的大规模配置管理数据库(CMDB)中,根据业务场景实现的关联查询功能,存在查询分析语句构造复杂、执行时间长的性能问题。为解决该问题,提出利用图数据库来实现关联查询的方法。利用配置项间的关系与图数据结构的一致性,构建基于图数据库的配置项关系表达,设计并实现一个基于图数据库的关联查询模块,以松耦合的方式集成到现有的配置管理数据库中,达到快速关联查询的目标。实验表明,本文的方法能有效解决大规模关系型数据库CMDB关联查询的性能问题。

关键词: 大规模, 配置管理数据库, 关联查询, 图数据库, 性能

Abstract: In a large-scale configuration management database (CMDB) which is built based on relationship databases, the function of relational query which is realized based on business scenes, turns out some disadvantages, it’s too complicated to construct a query and analysis statement, and it also needs a lot of time to execute. To solve these problems, the method to realize relational query function by using graph database is proposed. Making use of the consistency between the relationships of configuration items and graph data structure, the method constructs the configuration item relationships based on graph database. In order to realize the target of fast relational query, this paper designs and realizes a relational query module based on graph database, which is integrated into existing CMDB project with loose coupling. The experiment shows that the proposed method can solve the performance problem for relational query in CMDB.

Key words: large-scale, configuration management database, relational query, graph database, performance

中图分类号: