APP下载

基于MongoDB的调查决策系统数据存储方案设计

2016-05-19周霞张伟男时壮

电脑知识与技术 2016年8期
关键词:数据存储数据库

周霞+张伟男+时壮

摘要:之前绝大多数调查决策系统都采用传统的关系型数据库进行数据存储;现今大数据时代来临,各类非关系型的数据库开始崭露头角,并在应用中所占比重愈来愈大。MongoDB就是其中的后起之秀。因此,尝试使用非关系型数据库MongoDB来作为调查决策系统的数据存储是非常有现实意义的。该文为大家呈现基于MongoDB这个面向文档的非关系型数据库来设计投票及所包含问题的数据存储,在详细介绍其内嵌和引用这两种解决方式基础上最终给出后台的数据存储方案。

关键词:非关系型;数据库; MongoDB;调查决策;数据存储

中图分类号:TP391 文献标识码:A 文章编号:1009-3044(2016)08-0018-02

Abstract: before the vast majority of investigation decision system use the traditional relational database for data storage; today's big data era is coming, all kinds of non - relational database began to emerge, and in the application of accounts for the proportion is more and more. MongoDB is one of the bright younger generation. Therefore, try to use the non relational database MongoDB as the investigation decision system of data storage is of great practical significance. In this paper we present non relational database based on mongodb this document oriented to design voting and contains data storage problem, describes in detail the embedded and refer to the two solution on the basis of finally gives the background data storage scheme.

Key words: non relational database; MongoDB; survey; decision making; data storage

传统的关系型数据库技术自20世纪80年代开始成熟并至发展壮大,持续占据着绝对的市场主导地位。近年,电子商务、大数据、云计算和人工智能等应用产生的数据已经以PB或ZB来计算,信息化的社会带来了数据规模的急剧增长,大数据(Big Data)时代已经到来;大量半结构化、非结构化的数据亟待新的数据计算和处理模式,非关系型数据库(NoSQL)在此背景下应运而生,NoSQL指的是Not only SQL,它泛指一切与传统关系数据库不同的数据库技术,与传统的关系型数据库之间是互补关系。如今,多种非关系型数据库已经得到了广泛的应用,在处理大量数据的写入、提升性能和增大规模方面发挥着越来越大的作用,非常适合于网站数据的存储。

日常我们经常会接收到各种问卷调查,大学城中师生开展的各类调查更是数不胜数,原始的纸质问卷已不能满足需求,各类调查系统已经被广泛应用;……

登录APP查看全文

猜你喜欢

数据存储数据库
数据库
数据库
大数据时代档案信息建设的认识和实践
浅谈电力大数据平台关键技术研究与应用
开源数据库数据存储的实现路径分析
基于Android开发的APP数据存储研究
哈希算法在物联网数据存储中的应用
数据库
数据库
数据库