There are following below difference
| MongoDB | MariaDB | |
| 1 | MongoDB released on 11 February 2009 & developed by Developed by MongoDB Inc. | MariaDB released on 29 October 2009 & developed by MariaDB Corporation Ab |
| 2 | MongoDB is an open-source relational DBMS solution created to provide SQL features for accessing the data. | MariaDB is open-source, and is a NoSQL Database. |
| 3 | MongoDB is written in Perl, bash, C, and C++ | MongoDB is written in C++, JavaScript, Python |
| 4 | MongoDB supports non relational (NoSQL) database program & open-source document database, that stores the data in the form of key-value pairs | MariaDB supports relational database management system (RDBMS) that is a compatible with widely used MySQL database technology & open-source database |
| 5 | MongoDB does not support XML for storage. | MariaDB supports XML for storage, access, and retrieval in XML data format. |
| 6 | MongoDB supports Referential Integrity & Foreign Keys concept | MariaDB does not support Referential Integrity & Foreign Keys concept |
| 7 | MongoDB supports Multi document based ACID transactions with snapshot isolation. | MariaDB supports only ACID transactions without snapshot isolation. |
| 8 | ||
| 9 | ||
| 10 |