Skip to content
Related Articles

Related Articles

Difference between MongoDB and MariaDB
  • Last Updated : 05 Jun, 2020

1. MongoDB :
MongoDB is a cross-platform document-oriented and a non relational (i.e., NoSQL) database program. It is an open-source document database, that stores the data in the form of key-value pairs. MongoDB is developed by MongoDB Inc. and initially released on 11 February 2009. It is written in C++, Go, JavaScript, Python languages. MongoDB offers high speed, high availability, and high scalability.

2. MariaDB :
MariaDB is an open source relational database management system (RDBMS) that is a compatible drop-in replacement for the widely used MySQL database technology. It is developed by MariaDB Foundation and initially released on 29 October 2009. MariaDB has a significantly high number of new features, which makes it better in terms of performance and user-orientation than MySQL.



Difference between MongoBD and MariaDB:

S.NO.mongodbmariadb
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.

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :