在分析半结构化地理空间数据时,nosql和关系数据库性能的比较评估

M. Hasan, Russia Geoinformatics, E. Panidi, V. Badenko
{"title":"在分析半结构化地理空间数据时,nosql和关系数据库性能的比较评估","authors":"M. Hasan, Russia Geoinformatics, E. Panidi, V. Badenko","doi":"10.18509/gbp.2019.64","DOIUrl":null,"url":null,"abstract":"Non-relational (NoSQL) databases have gained popularity in the recent years, especially in Web applications, where semi-structured data formats (e.g., JSON, XML) that used widely to store data on the Web are more suitable to be managed by NoSQL database management systems. Web mapping software (OpenLayers, Leaflet, MapServer, GeoServer, etc.) implement geospatial extensions of such data formats, for example GeoJSON that is a standardized JSON document type, which can be used to represent simple geographical features alongside with their non-spatial attributes. In such a context, different relational database management system (RDBMS) vendors implemented JSON support in their software to provide greater flexibility for used relational database models. In this paper, a processing performance of semi-structured geospatial data in different databases management systems (DBMS) is analyzed. The analysis is performed on the example of GeoJSON datatype for different NoSQL DBMSs categories (MongoDB, Cassandra, CouchDB and Neo4J), in parallel with analysis of the PostgreSQL which is RDBMS with JSON processing capabilities. The results are presented for GeoJSON writing latency, geospatial querying based on location with and without spatial indexing, and querying based on attributes alongside with querying based on location. The conclusions can be used to support content-based estimations of the demands to the DBMS and its restrictions at the database design stage. The results of the analysis show that in writing latency parameter MongoDB and CouchDB demonstrate the highest results. Additionally, the results demonstrated that organizing of the geoJSON data in a materialized view in PostgreSQL shows fastest results for both location querying and location combined with attributes querying, but it requires to use 23% more of storage size. Both MongoDB and Cassandra returned fast results without any additional disk space. Finally, when using geospatial index (supported only in MongoDB and PostgreSQL), PostgreSQL reading latency is reduced by a factor of 10% when querying geospatial location using the spatial indexes, while MongoDB shows no significant advantage of spatial index use.","PeriodicalId":9293,"journal":{"name":"BSAVA Congress Proceedings 2019","volume":"55 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2019-08-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"COMPARATIVE EVALUATION OF NOSQL AND RELATIONAL DATABASES PERFORMANCE WHILE ANALYZING SEMI-STRUCTURED GEOSPATIAL DATA\",\"authors\":\"M. Hasan, Russia Geoinformatics, E. Panidi, V. Badenko\",\"doi\":\"10.18509/gbp.2019.64\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Non-relational (NoSQL) databases have gained popularity in the recent years, especially in Web applications, where semi-structured data formats (e.g., JSON, XML) that used widely to store data on the Web are more suitable to be managed by NoSQL database management systems. Web mapping software (OpenLayers, Leaflet, MapServer, GeoServer, etc.) implement geospatial extensions of such data formats, for example GeoJSON that is a standardized JSON document type, which can be used to represent simple geographical features alongside with their non-spatial attributes. In such a context, different relational database management system (RDBMS) vendors implemented JSON support in their software to provide greater flexibility for used relational database models. In this paper, a processing performance of semi-structured geospatial data in different databases management systems (DBMS) is analyzed. The analysis is performed on the example of GeoJSON datatype for different NoSQL DBMSs categories (MongoDB, Cassandra, CouchDB and Neo4J), in parallel with analysis of the PostgreSQL which is RDBMS with JSON processing capabilities. The results are presented for GeoJSON writing latency, geospatial querying based on location with and without spatial indexing, and querying based on attributes alongside with querying based on location. The conclusions can be used to support content-based estimations of the demands to the DBMS and its restrictions at the database design stage. The results of the analysis show that in writing latency parameter MongoDB and CouchDB demonstrate the highest results. Additionally, the results demonstrated that organizing of the geoJSON data in a materialized view in PostgreSQL shows fastest results for both location querying and location combined with attributes querying, but it requires to use 23% more of storage size. Both MongoDB and Cassandra returned fast results without any additional disk space. Finally, when using geospatial index (supported only in MongoDB and PostgreSQL), PostgreSQL reading latency is reduced by a factor of 10% when querying geospatial location using the spatial indexes, while MongoDB shows no significant advantage of spatial index use.\",\"PeriodicalId\":9293,\"journal\":{\"name\":\"BSAVA Congress Proceedings 2019\",\"volume\":\"55 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2019-08-22\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"BSAVA Congress Proceedings 2019\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.18509/gbp.2019.64\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"BSAVA Congress Proceedings 2019","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.18509/gbp.2019.64","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

摘要

近年来,非关系型(NoSQL)数据库越来越受欢迎,特别是在Web应用程序中,广泛用于在Web上存储数据的半结构化数据格式(例如JSON、XML)更适合由NoSQL数据库管理系统管理。Web地图软件(OpenLayers,传单,MapServer, GeoServer等)实现了这些数据格式的地理空间扩展,例如GeoJSON是一种标准化的JSON文档类型,它可以用来表示简单的地理特征及其非空间属性。在这种情况下,不同的关系数据库管理系统(RDBMS)供应商在其软件中实现了JSON支持,以便为所使用的关系数据库模型提供更大的灵活性。本文分析了半结构化地理空间数据在不同数据库管理系统(DBMS)中的处理性能。本文以不同NoSQL数据库类别(MongoDB、Cassandra、CouchDB和Neo4J)的GeoJSON数据类型为例进行了分析,同时分析了具有JSON处理能力的RDBMS PostgreSQL。结果显示了GeoJSON写入延迟、基于位置的地理空间查询(有和没有空间索引)、基于属性的查询以及基于位置的查询。这些结论可用于支持在数据库设计阶段对DBMS的需求及其限制进行基于内容的估计。分析结果表明,在写延迟参数方面,MongoDB和CouchDB表现出最高的结果。此外,结果表明,在PostgreSQL的物化视图中组织geoJSON数据,无论是位置查询还是位置与属性结合查询,都显示出最快的结果,但它需要使用多23%的存储大小。MongoDB和Cassandra都返回了快速的结果,没有任何额外的磁盘空间。最后,当使用地理空间索引(仅在MongoDB和PostgreSQL中支持)时,使用空间索引查询地理空间位置时,PostgreSQL的读取延迟减少了10%,而MongoDB在使用空间索引方面没有明显的优势。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
COMPARATIVE EVALUATION OF NOSQL AND RELATIONAL DATABASES PERFORMANCE WHILE ANALYZING SEMI-STRUCTURED GEOSPATIAL DATA
Non-relational (NoSQL) databases have gained popularity in the recent years, especially in Web applications, where semi-structured data formats (e.g., JSON, XML) that used widely to store data on the Web are more suitable to be managed by NoSQL database management systems. Web mapping software (OpenLayers, Leaflet, MapServer, GeoServer, etc.) implement geospatial extensions of such data formats, for example GeoJSON that is a standardized JSON document type, which can be used to represent simple geographical features alongside with their non-spatial attributes. In such a context, different relational database management system (RDBMS) vendors implemented JSON support in their software to provide greater flexibility for used relational database models. In this paper, a processing performance of semi-structured geospatial data in different databases management systems (DBMS) is analyzed. The analysis is performed on the example of GeoJSON datatype for different NoSQL DBMSs categories (MongoDB, Cassandra, CouchDB and Neo4J), in parallel with analysis of the PostgreSQL which is RDBMS with JSON processing capabilities. The results are presented for GeoJSON writing latency, geospatial querying based on location with and without spatial indexing, and querying based on attributes alongside with querying based on location. The conclusions can be used to support content-based estimations of the demands to the DBMS and its restrictions at the database design stage. The results of the analysis show that in writing latency parameter MongoDB and CouchDB demonstrate the highest results. Additionally, the results demonstrated that organizing of the geoJSON data in a materialized view in PostgreSQL shows fastest results for both location querying and location combined with attributes querying, but it requires to use 23% more of storage size. Both MongoDB and Cassandra returned fast results without any additional disk space. Finally, when using geospatial index (supported only in MongoDB and PostgreSQL), PostgreSQL reading latency is reduced by a factor of 10% when querying geospatial location using the spatial indexes, while MongoDB shows no significant advantage of spatial index use.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信