基于云服务的异构数据库管理系统的设计与实现
2018-02-13石明翔田济玮李文齐郭学节
石明翔 田济玮 李文齐 郭学节
摘 要: 为了解决企业中由于异构数据库增多而带来的管理难度增加、运维成本高涨等问题,设计实现了基于云服务的异构数据库管理系统,采用面向服务的SOA架构,分为应用层、云数据库应用服务接口、任务调度层、云数据库数据处理接口和云数据库等五层,能够对Docker环境下的异构数据库完成创建、管理、读写、分析等操作,为用户提供了一种高效方便的异构数据库管理工具。
关键词: 云服务; 异构数据库; Docker; 数据库管理系统
中图分类号:TP391 文献标志码:A 文章编号:1006-8228(2018)12-25-04
Abstract: In order to solve the problems such as increased management difficulty and high operation and maintenance cost caused by the increase of heterogeneous databases in enterprises, this paper designed and implemented a cloud service based heterogeneous database management system. The system adopts a service-oriented SOA architecture, which is divided into five layers, namely, application layer, cloud database application service interface, task scheduling layer, cloud database data processing interface and cloud database. It is able to complete the creation, management, reading and writing, analysis and other operations of heterogeneous database in Docker environment, providing users with an efficient and convenient heterogeneous database management.
Key words: cloud service; heterogeneous database; Docker; DBMS
0 引言
近年来,随着信息化建设不断深入,各企事业单位的数据信息呈几何倍数增长,从一两个数据库增长为多个甚至几十个不同种类、不同结构的数据库,而库与库之间又有很多业务交叉点,一个数据库的数据更新可能会影响到多个数据库。同时,数据库的多样化带来了诸多问题:一是不同种类的数据库对系统的软硬件环境有着不同要求;二是数据库的异构也增加了管理难度,要求管理人员不仅要熟悉多种数据库的接口,而且在管理不同数据库时也要投入大量时间。这些问题导致了数据库运维成本不断增加,异构数据库的整合和管理变得迫在眉睫。
本文主要依托于Docker技术,将多种不同种类的主流数据库(Oracle、SqlServer、Mysql)部署在云平台上,并开发基于云服务的异构数据库管理系统,能够对异构数据库完成快速创建、表数据快速录入、全文检索、一键查询、查询模版管理、多表查询、统计分析、导入导出等操作。……
