📜  MongoDB 和 MariaDB 的区别

📅  最后修改于: 2021-09-13 03:19:09             🧑  作者: Mango

1. MongoDB:
MongoDB 是一个跨平台的面向文档的非关系型(即 NoSQL)数据库程序。它是一个开源文档数据库,以键值对的形式存储数据。 MongoDB 由 MongoDB Inc. 开发,最初于 2009 年 2 月 11 日发布。它是用 C++、Go、JavaScript、 Python语言编写的。 MongoDB 提供高速、高可用性和高可扩展性。

2. 玛丽亚数据库:
MariaDB 是一个开源关系数据库管理系统 (RDBMS),是广泛使用的 MySQL 数据库技术的兼容替代品。它由 MariaDB Foundation 开发并于 2009 年 10 月 29 日首次发布。MariaDB 具有大量新功能,这使其在性能和用户导向方面优于 MySQL。

MongoBD 和 MariaDB 的区别:

S.NO. mongodb mariadb
1. Developed by MongoDB Inc. and initially released on 11 February 2009. Developed by MariaDB Corporation Ab. and initially released on 29 October 2009.
2. MongoDB is written in C++, Go, JavaScript, Python languages. MariaDB is written in C, C++, Perl and Bash languages.
3. MongoDB provides Multi-document ACID transactions with snapshot isolation. MariaDB only provides ACID transactions without snapshot isolation.
4. MongoDB has a large base for supporting all the languages in the system. MariaDB does not support Matlab and shell languages.
5. MongoDB does not work like SQL but has access rights to users based on their roles in the system. MariaDB has many queries similar and the working is also similar to SQL.
6. MongoDb does not provides the concept of Referential Integrity. Hence no Foreign Keys. MariaDB provides the concept of Referential Integrity and have Foreign keys.
7. The replication method that MongoDB supports is Master-Slave Replication. MariaDB supports both Master-Slave Replication and Master-Master Replication.
8. MongoDB supports Map Reduce method. MariaDB does not supports Map Reduce method.
9. Server operating systems for MongoDB are Solaris, Linux, OS X, Windows. Server operating systems for MariaDB are FreeBSD, Linux, Solaris, Windows
10. Famous companies like Adobe, Amadeus, Lyft, ViaVarejo, Craftbase, etc uses MongoDB. Famous companies like CUNY, Accenture, Docplanner, Grooveshark, Northrop Grumman, uses MariaDB.