mysql与nosql的关系型数据库_关系型数据库与NoSQL数据库的性能对比

第 7 卷 第 3 期 2017 年 6 月 智 能 计 算 机 与 应 用 Intelligent Computer and Applications Vol.7 No.3 Jun.2017 关系型数据库与 NoSQL 数据库的性能对比 杜丽娟 ( 北京联合大学 应用科技学院,北京 102200) 摘 要: 本文针对传统的关系型数据库和新兴的 NoSQL 数据库进行性能测试比对。选取关系型数据库的代表 MySQL 和 NoSQL 数据库的代表 Redis。通过建立模型和搭建测试环境,同时进行20 000 次数据的插入操作和查询操作,然后对比 MySQL 数据库和 Re-dis 数据库的总耗时和平均耗时,得出 Redis 数据库的存储和查询效率高的结论。关键词: MySQL; Redis; 关系数据库; NoSQL 中图分类号: TP393 文献标志码: A 文章编号: 2095-2163( 2017) 03-0132-03 Performance comparison between traditional relational database and NoSQL database DU Lijuan ( College of Applied Science and Technology,Beijing Union University,Beijing 102200,China) Abstract: This paper selects the MySQL of relational database and Redis of NoSQL database. MySQL is the representative of relational database and Redis is the representative of NoSQL database. By building models and test environment,insertion and query operations of 20 000 data are carried out at the same time,after comparing the total time and the average time of the MySQL database and Redis database,the conclusion is that the storage and query efficiency of Redis database are higher. Keywords: MySQL; Redis; relational database; NoSQL 作者简介: 杜丽娟( 1980-) ,女,硕士,讲师,主要研究方向: 数据库、无线传感器网络。 收稿日期: 2017-04-05 0 引 言 传统的关系型数据库,如 Oracle、MySQL,在很长一段时间内在数据库领域占据举足轻重的位置。然而随着互联网以及移动互联网技术的更新换代,近年开始流行的 NoSQL 数据库,如 Memcached、Redis,伴随迅速的研究推进,已然发展成为一个极其热门的新领域。本文通过数据的插入和查询测试,比较关系型数据库 MySQL 和 NoSQL 数据库 Redis 的性能。 1 关系型数据库 MySQL MySQL 是最好的 RDBMS ( Relational Database Management System,关系数据库管理系统) 应用软件。MySQL 将数据保

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值