📜  MariaDB和PostgreSQL之间的区别

📅  最后修改于: 2021-08-25 10:06:24             🧑  作者: Mango

1. MariaDB:
MariaDB是一个开源关系数据库管理系统(RDBMS),它是广泛使用的MySQL数据库技术的兼容即插即用替代品。它由MariaDB基金会开发,最初于2009年10月29日发布。MariaDB具有大量新功能,因此在性能和面向用户方面比MySQL更好。

2. PostgreSQL:
PostgreSQL是一个功能强大的开源对象关系数据库系统。它具有较高的稳定性,因此可以在较低的维护工作量下提供良好的性能。 PostgreSQL是第一个实现多版本并发控制(MVCC)功能的DBMS。

MariaDB和PostgreSQL之间的区别:

S.NO. MARIADB POSTGRESQL
1. Developed by MariaDB Corporation Ab and MariaDB Foundation on 2009. Developed By  PostgreSQL Global Development Group on 1989.
2. It is a MySQL application compatible open source RDBMS, enhanced with high availability, security, interoperability and performance capabilities. It is widely used open source RDBMS.
3. MariaDB is written in C and C++ languages. PostgreSQL is written in C languages.
4. The primary database model for MariaDB is Relational DBMS. Also the primary database model for PostgreSQL is Relational DBMS.
5. It has two Secondary database models – Document store and Graph DBMS. It has Document store as Secondary database models.
6. Server operating systems for MariaDB are FreeBSD, Linux, Solaris and Windows. Server operating systems for PostgreSQL are FreeBSD, HP-UX, Linux, NetBSD, OpenBSD, OS X, Solaris, Unix and Windows.
7. It supports Server-side scripting. It has user defined functions for Server-side scripts
8. Supported Partitioning method are – Horizontal partitioning, sharding with Spider storage engine and Galera cluster. In PostgreSQL, partitioning can be done by range, list and hash.
9. It support two replication methods – Master-master replication and Master-slave replication. It support only one replication methods – Master-master replication
10. It supports in-memory capabilities. It does not supports in-memory capabilities.