文档介绍:华中科技大学
硕士学位论文
分布式内存数据库中间管理系统的研究与设计
姓名:吕慧
申请学位级别:硕士
专业:通信与信息系统
指导教师:王芙蓉
20090525
华中科技大学硕士学位论文
摘要
随着计算机软硬件、网络等技术的高速发展,电力系统对数据存储和实时性处理
的要求越来越高。在现实世界中,许多地域上分散而管理上又相对集中的大型企业
集团、政府机构等,不仅要求本部门信息处理使用数据库技术,而且要求地域上分
散的信息能够互联和共享。传统的集中式数据库由于存储容量和处理资源有限,已
渐渐不能满足不断提高的应用需求。这些应用的迫切需求使得分布式内存数据库技
术应运而生,并迅速成为现代数据库的主流技术。
课题的任务是将项目组已完成的用于电力系统的集中式内存数据库进行分布式
改进,以满足海量数据的存储要求,支持多个应用服务器间的信息共享,提高系统
性能,适应不断提高的应用要求。
本文研究了分布式内存数据库技术的现状、发展和相关的基础知识,并详细分
析了分布式数据库管理系统的设计思想、原理、技术和方法。比较了两种常用的分
布式数据库管理方式:基于中央代理服务器和基于 P2P 模式。基于中央代理服务器
的管理方式结构简单,但对中央代理服务器的依赖性过高,可靠性较低;基于 P2P
模式的管理方式实现了完全的分布式管理,但各站点之间的通信开销大,目录信息
的一致性较难维护。本文通过分析两种方式的优缺点,设计出了兼顾可靠性和简洁
性的系统体系结构。该体系结构使用层次与模块划分相结合的设计方式,对系统进
行清晰的逻辑分割,采用三层客户机/服务器模式,各功能模块松耦合,便于系统扩
展。在各功能模块的具体设计上,采用了一些可靠有效的方法,如采用对象化的查
询接口、使用标准模板库的多映射容器维护目录管理、利用完成端口模型完成网络
通信等,保证了系统的高效性和灵活性。
关键词: 分布式内存数据库;数据库管理系统;三层客户机/服务器模式;查询处理;
目录管理
I
华中科技大学硕士学位论文
Abstract
Along with the technology developing puter hardware and software, and the
wide range of applications puter system, power system demands for higher
technology on data storage and real-time ability. In the real world, there are many large
enterprise group, government agencies and anizations, which are geographically
dispersed but need cohesive management. They require establishing interconnected
networks and sharing the information from different places. The traditional centralized
databases now no longer suffice for the growing requirement of the new application. With
the rapid development work, distributed database e into existence as
the situation requires, and has turned out to be the mainstream of modern databases.
The main task of this paper is to convert the current centralized MMDBS into a
distributed system. Then the system can hold mass data, improve performance and be
convenient for system expanding.
This paper investigates the current situation of the field of distributed database
technology and some relative knowledge. It also deeply an