计算机与现代化 ›› 2014, Vol. 0 ›› Issue (8): 62-66.doi: 10.3969/j.issn.1006-2475.2014.08.014

• 信息安全 • 上一篇    下一篇

面向电子政务的MongoDB与MySQL混合存储策略

  

  1. (乌鲁木齐职业大学,新疆乌鲁木齐830002)
  • 收稿日期:2014-04-16 出版日期:2014-08-15 发布日期:2014-08-19
  • 作者简介:吴秀君(1977-),女,山东海阳人,乌鲁木齐职业大学讲师,硕士,研究方向:计算机应用技术,信息处理,电子政务

Hybrid Storage Strategy with MongoDB and MySQL for E-government

  1. (Urumqi Vocational University, Urumqi 830002, China)
  • Received:2014-04-16 Online:2014-08-15 Published:2014-08-19

摘要:

针对传统电子政务平台所采用的关系型数据库在存储非结构化数据时的缺陷,利用MongoDB存储海量非结构化数据的优势,提出
MongoDB与MySQL混合存储的策略。MongoDB负责存储图片、视频等非结构化数据,MySQL负责存储用户注册信息、工资表等结构化数据。
二者协同提供政务数据的云存储服务和查询操作,从而降低MySQL数据库服务器的负载,节约MySQL的存储空间,增强电子政务后台数据
库的扩展性。实验结果表明,该混合策略能大大提高电子政务平台的查询效率。

关键词: 电子政务, 关系型数据库, MongoDB, MySQL, 结构化数据, 非结构化数据, 查询效率

Abstract:

For the defects of relational database used in traditional e-government platform when storing
unstructured data, the advantages of MongoDB in storing mass unstructured data are used to put forward a hybrid
storage strategy with MongoDB and MySQL. MongoDB is responsible for storing unstructured data such as pictures,
video. MySQL is responsible for storing structured data such as user registration information, payroll. Both
of them work together to provide data cloud storage services and query operations of e-government data, thereby
reducing the load on the database server of MySQL, saving the storage space and enhancing the scalability of e-
government back-end database. Comparative tests show that the hybrid strategy can greatly improve the query
efficiency of e-government platform.

Key words:

efficiency

中图分类号: