Research of Lightweight Vector Geographic Data Management Based on Main Memory Database Redis

  • Key Laboratory of Virtual Geographic Environment, Ministry of Education, Nanjing Normal University, Nanjing 210023, China

Received date: 2013-08-09

  Revised date: 2013-11-11

  Online published: 2014-03-10


Effective organization and management of vector geographic data is one of the key parts for spatial database application. The traditional vector geographic data service is usually based on magnetic disks and relational databases like Oracle Spatial. With the rapid development of wireless communication and mobile web technology, the performance of current vector geographic data service is declining dramatically under multi-user concurrent access, and can't meet the requirements of high performance and high concurrency. In order to improve the performance of vector geographic data service under multi-user concurrent access, we proposed a novel management approach of lightweight vector geographic data based on main memory database Redis. Redis is a main-memory lightweight key/value store. Its I/O performance is much better than traditional disk-based databases like Oracle and MS SQL server. At first, we analyzed Redis' key-value data model and data structure. Subsequently we designed a four level hierarchy organization structure of vector geographic database. We stored vector geographic data and its metadata based on Redis' plentiful data structures. Then, taking the grid spatial index as an example, we designed the storage method of spatial index and spatial query processing flow for Redis based on the hierarchy organization structure of vector geographic database. Our experimental results confirmed that compared to traditional relational spatial database-Oracle Spatial, our main memory style vector geographic data management approach greatly improves spatial query responding speed and its concurrent performance is excellent. The proposed approach can be used as a front end high performance cache of large spatial database or a high performance spatial indexes database.

Cite this article

ZHU Jin, HU Bin, SHAO Hua, LUO Qing, JIANG Nan, ZHANG Jingyun . Research of Lightweight Vector Geographic Data Management Based on Main Memory Database Redis[J]. Journal of Geo-information Science, 2014 , 16(2) : 165 -172 . DOI: 10.3724/SP.J.1047.2014.00165


[1] 覃雄派,王会举,李芙蓉,等.数据管理技术的新格局[J].软件学报,2013,24(2):175-197.

[2] 慈祥,孟小峰.大数据管理:概念、技术与挑战[J].计算机研究与发展,2013,50(1):146-169.

[3] 王珊,肖艳芹,刘大为,等.内存数据库关键技术研究[J].计算机应用,2007,27(10):2353-2357.

[4] 徐海华.面向应用的内存数据库研究[D].上海:上海师范大学,2008.

[5] Ousterhout J, Agrawal P, Erickson D, et al. The case for ramclouds: scalable high-performance storage entirely in dram[J].SIGOPS Operating Systems Review,2010,43(4):92-105.

[6] The Trinity graph engine[EB/OL].[2013-07-20].

[7] Redis: Lightweight key/value store that goes the extra mile[EB/OL].[2013-07-28].

[8] 支撑5亿用户、1.5亿活跃用户的Twitter最新架构详解及相关实现[EB/OL].[2013-07-18].

[9] 唐诚.Redis数据库在微博系统中的实践[J].厦门城市职业学院学报,2012,14(3):55-59.

[10] Hu L, Yue P, Zhou H X.Geoprocessing in Google Cloud Computing: Case studies[C].2012 First International Conference on Agro-Geoinformatics (Agro-Geoinformatics),Aug,2012.

[11] Kerr N T. Alternative approaches to parallel GIS processing[D].Arizona State University,2009.

[12] 王永刚.基于Hadoop云计算平台的地理信息服务若干关键技术研究[D].北京:中国科学院遥感应用研究所,2011.

[13] 唐建智.基于云计算的海量空间信息存储与计算研究[D].北京:中国科学院遥感应用研究所,2012.

[14] 徐红波.基于空间填充曲线高维空间查询算法研究[D].哈尔滨:哈尔滨理工大学,2010.

[15] 范建永,龙明,熊伟.基于HBase的矢量空间数据分布式存储研究[J].地理与地理信息科学,2012,28(5): 39-42.

[16] Dean J, Ghemawat S. Mapreduce: Simplified data processing on large clusters[C].Proceedings of OSDI,2004,137-150.

[17] 张景云.基于Redis的矢量数据组织研究[D].南京:南京师范大学,2013.

[18] 杨艳,李炜,王纯.内存数据库在高速缓存方面的应用[J].现代电信科技,2011(12):59-64.

[19] Key-Value stores: A practical overview[EB/OL].[2013-07-25].

[20] OGC.OpenGIS simple features specification for SQL revision 1.1[EB/OL].[ 2013-07-20].

[21] Guttman A. R-trees: A dynamic index structure for spatial searching[C].Proceedings of the ACM SIGMOD,Boston,MA,1984,47-57.

[22] Silberschatz A,Korth H,Sudarshan S. Database system concepts (6th ed.)[M]. New York: McGraw-Hill,2010:429-474.