📜  MongoDB和MariaDB之间的区别

📅  最后修改于: 2021-08-25 18:42:00             🧑  作者: Mango

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

2. MariaDB:
MariaDB是一个开源关系数据库管理系统(RDBMS),它是广泛使用的MySQL数据库技术的兼容即插即用替代品。它由MariaDB基金会开发,最初于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.