摘要
为提高数据存取效率,更好地支撑后台业务系统的高性能高并发要求,实现一种基于内存映射的非关系型嵌入式数据库系统MMDB。结合类型定义模板、数据预处理器、内存映射文件、自定义内存分配器、地址空间管理等多项技术,支持以键值结构存储任意C/C++格式数据类,为复杂数据对象提供极快存取速度,尤为适用于部分特定的数据量庞大、数据对象复杂、访问读多写少的后台服务系统场景。实验结果表明,在复杂对象存取场景时,与目前主流内存数据库相比,MMDB拥有明显的效率优势。
To improve the data access efficiency and to satisfy back-end systems’high concurrency and high performance requirement,an embedded No-SQL database system(MMDB)was invented based on memory map technology.By utilizing the type definition template,data pre-processor,file memory mapping,customized memory allocator,and virtual address space management,the database supported to store arbitrary complex C++data objects into key-value structures,and provided extremely high data access speed.It was especially suitable for the back-end systems with huge data volume,complex data objects,and more-read/less-write scenarios.The comparative experiments indicate that MMDB takes predominant advantage over the popular memory database for the data access efficiency.
作者
梁海峰
杨毅
刘中一
LIANG Hai-feng;YANG Yi;LIU Zhong-yi(Research and Development Center,TravelSky Technology Limited,Beijing 101318,China;Key Laboratory of Intelligent Passenger Service of Civil Aviation,Civil Aviation Administration of China,Beijing 101318,China)
出处
《计算机工程与设计》
北大核心
2023年第3期937-944,共8页
Computer Engineering and Design
基金
国家自然科学基金项目(U2033203)。