首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于MongoDB的空间搜索引擎设计及优化方法
引用本文:潘国富.基于MongoDB的空间搜索引擎设计及优化方法[J].测绘通报,2021,0(8):162-165.
作者姓名:潘国富
作者单位:广州市中海达测绘仪器有限公司,广东 广州511400
摘    要:本文介绍了非关系型数据库MongoDB的空间查询功能,针对海量用户并发服务的应用场景,提出了一种空间近邻信息查询引擎的优化策略。该策略根据短时间内空间数据内容变化较小及相邻位置搜索结果相似度高的特征,利用格网化机制实现在等效查询结果前提下数据库操作次数减少;同时利用内存缓冲机制减少磁盘I/O读写次数,从而显著提高系统的并发数及查询速度。测试结果表明,在相同硬件设施条件下,优化后搜索引擎的效率比原生系统提高了近50倍。

关 键 词:空间查询  非关系型数据库  MongoDB  位置服务
收稿时间:2021-04-30

The mehod of design and optimization of spatial search engine based on MongoDB
PAN Guofu.The mehod of design and optimization of spatial search engine based on MongoDB[J].Bulletin of Surveying and Mapping,2021,0(8):162-165.
Authors:PAN Guofu
Institution:Guangzhou Hi-Target Navigation Tech Co., Ltd., Guangzhou 511400, China
Abstract:This paper introduces the spatial query capabilities of MongoDB, which is No-SQL database, and proposes an optimization strategy of the spatial query engine for application scenarios with large concurrent services of massive users. According to the characteristics of little change in content in a short time and high similarity of search results in adjacent locations, this strategy uses a gridstrategy to reduce the number of database operations under the premise of equivalent query results, and uses a memory buffer strategy to reduce disk I/O reading and writing times, thereby improving the concurrency and query speed of the service system. Tests results show that under the same hardware facilities, the optimized search engine efficiency is nearly 50 times higher than that of the original system.
Keywords:spatial index  No-SQL  MongoDB  location-based service  
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《测绘通报》浏览原始摘要信息
点击此处可从《测绘通报》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号