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

PostgreSQL与MongoDB处理非结构化数据性能比较
引用本文:宗 平,李 雷.PostgreSQL与MongoDB处理非结构化数据性能比较[J].计算机工程与应用,2017,53(7):104-108.
作者姓名:宗 平  李 雷
作者单位:1.南京邮电大学 海外教育学院,南京 210023 2.南京邮电大学 计算机学院,南京 210023
摘    要:互联网技术的发展产生的海量非结构化数据在传统关系型数据库中难以被高速有效地进行存储和处理,各类NoSQL数据库可以有效存储处理非结构化数据,但是对关系运算功能的弱化难以满足应用场景的需求。具备非结构化数据处理能力的新型关系型数据库提供了适用多种应用场景的高效存储方式。为了能够定量地比较关系型数据库和面向文档的NoSQL数据库的数据存储与处理能力,比较了PostgreSQL的hstore数据类型和MongoDB的内嵌文档对非结构化数据的储存方式,并通过非结构化数据的批量加载、磁盘占用、主键查询、非主键查询、地理空间坐标查询等方面的对比来以分析性能特征与适用场景。

关 键 词:PostgreSQL数据库  hstore数据类型  MongoDB数据库  内嵌文档  

Performance comparison of PostgreSQL and MongoDB dealing with unstructured data
ZONG Ping,LI Lei.Performance comparison of PostgreSQL and MongoDB dealing with unstructured data[J].Computer Engineering and Applications,2017,53(7):104-108.
Authors:ZONG Ping  LI Lei
Affiliation:1.College of Overseas Education, Nanjing University of Posts and Telecommunications, Nanjing 210023, China 2.College of Computer, Nanjing University of Posts and Telecommunications, Nanjing 210023, China
Abstract:Traditional relational databases can hardly store or handle massive unstructured data generated by Internet technology development efficiently. Varieties of NoSQL databases are capable to deal with unstructured data, but are poor in dealing with relational calculation under certain circumstances. Some new relational databases provide efficient ways to store both unstructured and structured data in multiple environments. In order to compare the data storage and processing capabilities of relational database and document-oriented NoSQL database quantitatively, this paper compares the unstructured data storage methods between hstore in PostgreSQL and embedded document in MongoDB. Performance and applicability analysis are also made by comparing performance of bulk loading, disk footprint, query on primary key and geometry coordinates.
Keywords:PostgreSQL  hstore  MongoDB  embedded document  
点击此处可从《计算机工程与应用》浏览原始摘要信息
点击此处可从《计算机工程与应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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