基于MongoDB的空间搜索引擎设计及优化方法  被引量:4

The mehod of design and optimization of spatial search engine based on MongoDB

在线阅读下载全文

作  者:潘国富 PAN Guofu(Guangzhou Hi-Target Navigation Tech Co.,Ltd.,Guangzhou 511400,China)

机构地区:[1]广州市中海达测绘仪器有限公司,广东广州511400

出  处:《测绘通报》2021年第8期162-165,共4页Bulletin of Surveying and Mapping

摘  要:本文介绍了非关系型数据库MongoDB的空间查询功能,针对海量用户并发服务的应用场景,提出了一种空间近邻信息查询引擎的优化策略。该策略根据短时间内空间数据内容变化较小及相邻位置搜索结果相似度高的特征,利用格网化机制实现在等效查询结果前提下数据库操作次数减少;同时利用内存缓冲机制减少磁盘I/O读写次数,从而显著提高系统的并发数及查询速度。测试结果表明,在相同硬件设施条件下,优化后搜索引擎的效率比原生系统提高了近50倍。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.

关 键 词:空间查询 非关系型数据库 MONGODB 位置服务 

分 类 号:P208[天文地球—地图制图学与地理信息工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象