📜  MariaDB 和 PostgreSQL 的区别

📅  最后修改于: 2021-09-11 06:20:07             🧑  作者: Mango

1. 玛丽亚数据库:
MariaDB 是一个开源关系数据库管理系统 (RDBMS),是广泛使用的 MySQL 数据库技术的兼容替代品。它由 MariaDB Foundation 开发并于 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.