mysql和mongodb
(1) MySQL)
As you all know, if anytime you ever hear about or learn MySQL then, it is an open source relational database management system that works on many platforms. It provides multi-user to support different type of storage engines and is backed by Oracle.
众所周知,如果您曾经听说或学习过MySQL,那么它将是一个可在许多平台上运行的开源关系数据库管理系统。 它提供了多用户支持不同类型的存储引擎,并且得到了Oracle的支持。
Properties:
特性:
- Comprehensive application development
全面的应用程序开发 - Scalability
可伸缩性 - Flexibility
灵活性 - Open source 24*7 support
支持24 * 7全天候开放源代码 - High Availability
高可用性 - High performance
高性能 - Secure data protection
安全的数据保护 - Robust
强大 - Low cost of ownership
拥有成本低 - Easy in management
易于管理
(2) MongoDB)
It is a non-relational database and non-structure database used a collection of files and store data as a document in a binary representation called BSON (binary JSON). This database stores information related together for fast query access through the MongoDB query language.
它是一个非关系数据库和非结构数据库,用于收集文件并将数据作为文档存储在称为BSON(二进制JSON)的二进制表示形式中。 该数据库存储在一起的相关信息,以便通过MongoDB查询语言进行快速查询访问。
Properties:
特性:
- Indexing
索引 - Replication
复制 - Ad-hoc queries
临时查询 - Schema-less
无模式 - Sharding
分片
(Key Features of MySQL and MongoDB)
MySQL | MongoDB |
Triggers and SSL support | Auto sharding |
Provides text searching and indexing | Comprehensive secondary indexes |
Query caching | In memory speed |
Integrated replication support | Native replication |
Different storage engines | Embedded data models support |
MySQL | MongoDB |
触发器和SSL支持 | 自动分片 |
提供文本搜索和索引 | 综合二级指标 |
查询缓存 | 记忆速度 |
集成复制支持 | 本机复制 |
不同的存储引擎 | 嵌入式数据模型支持 |
Conclusion:
结论:
In this article, we have learned about MySQL and MongoDB. I hope you understand the properties and features of these different databases. We will learn more about it in the upcoming article. Have a nice day! Happy Learning!
MySQL和MongoDB
Reference:
参考:
- SQL Database Performance Tuning for Developers 开发人员SQL数据库性能调优
- MongoDB - Indexing and Aggregation Tutorial MongoDB-索引和聚合教程
- Mongo Internal Training session by Soner Altin Soner Altin的Mongo内部培训课程
- MongoDB - Sharding MongoDB-分片
翻译自: https://www.includehelp.com/mongodb/what-is-mysql-and-mongodb.aspx
mysql和mongodb