支持MongoDB的事务管理方案研究
作者:

Analysis of Scheme Supporting MongoDB Transaction Management
Author:
  • 摘要
  • | |
  • 访问统计
  • |
  • 参考文献 [12]
  • |
  • 相似文献 [20]
  • | | |
  • 文章评论
    摘要:

    MongoDB作为一个基于分布式文件存储的数据库,强大的单表查询语言,以及可扩展的高性能数据存储受很用户喜爱,但其没有对事务的完全支持,使得用户对MongoDB的使用处于被动状态.为改善MongoDB对事务管理方面的兼容性,提出一种支持MongoDB事务管理,完善MongoDB功能的方案.利用MQ与守护进程间的消息通信,使守护进程对事务提交或者回滚后的脏数据进行清理,保证了MongoDB在事务管理方面的可用性与安全性.

    Abstract:

    As a database based on distributed file storage, with powerful single table query language, and extensible high performance data storage, MongoDB is very popular among users. But is does not fully support the transaction, leaving the uses of the MongoDB passive. In order to improve the mongo compatibility of transaction management, a solution of supportting MongoDB transaction management and perfecting its function is proposed. The communication between daemon processes and MQ are utilized to make daemon processes clean up the dirty data after a transaction commits or rolls back, ensuring the availability and security of MongoDB in terms of transaction management.

    参考文献
    1 徐娟娟, 朱成亮. NOSQL在WEB日志分析中的应用. 中国新技术新产品, 2011, (10): 27. [DOI:10.3969/j.issn.1673-9957.2011.10.025]
    2 MongoDB Home. http://grokbase.com/t/gg/mongodb-user/12836feerg/locking-for-atomic-transactions.
    3 Plantikow S, Reinefeld A, Schintke F. Transactions for distributed wikis on structured overlays. Proc. Distributed Systems: Operations and Management 18th IFIP/IEEE International Conference on Managing Virtualization of Networks and Services. San José, CA, USA. 2007. 256–267.
    4 Bernstein PA, Newcomer E. Principles of transaction processing. San Francisco, California: Morgan Kaufmann Publishers, Inc., 1997. 56–59.
    5 Transaction Processing Performance Council. TPC BENCHMARKTM C, Standard Specification Revision 5.0, 2001-02-26.
    6 Haase K. JavaTM message service API tutorial. Palo Alto, California: Sun Microsystems, Inc., 2002.
    7 周城, 葛斌, 蒋林承. 一种基于消息中间件的网页实时处理技术. 电脑知识与技术, 2011, 7(10): 2269–2271. [DOI:10.3969/j.issn.1009-3044.2011.10.021]
    8 Tackett J Jr, Gunter D. Linux大全. 3版. 北京: 电子工业出版社, 1998: 25–26.
    9 张忠杰, 田质广. 编写Linux守护进程. 山东轻工业学院学报, 2001, 15(4): 5–9.
    10 张伟, 居悌. UNIX系统中常驻进程的一个应用实例. 微机发展, 1999, (5): 50–52.
    11 彭勇. Delphi 5.0网络与通信开发应用. 北京: 中国水利水电出版社, 2000: 36–38.
    12 Zhang YT, Liao JX, Zhang TY, et al. A novel method for the short message or multimedia message synchronization. Proc. International Conference on Wireless and Mobile Comm-unications. Bucharest, Romania. 2006. 75.
    引证文献
    网友评论
    网友评论
    分享到微博
    发 布
引用本文

汪添生,尉双梅,崔蔚,刘迪,何金陵,孙琦.支持MongoDB的事务管理方案研究.计算机系统应用,2017,26(7):278-282

复制
分享
文章指标
  • 点击次数:1661
  • 下载次数: 2455
  • HTML阅读次数: 0
  • 引用次数: 0
历史
  • 收稿日期:2016-11-09
  • 最后修改日期:2017-01-04
  • 在线发布日期: 2017-10-31
文章二维码
您是第12460491位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京海淀区中关村南四街4号 中科院软件园区 7号楼305房间,邮政编码:100190
电话:010-62661041 传真: Email:csa (a) iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号