简而言之:
- 简单应用用MySQL,传说中更快。
- 复杂应用使用PostgreSQL,支持SubQuery、View、Stored Procedure,复杂的查询更快。
比较方法:
https://www.google.com.hk/
关键字:mysql vs postgresql benchmark 2016
别人的结论:
PostgreSQL [9.5.0] vs MariaDB [10.1.11] vs MySQL [5.7.0] year 2016
http://nghenglim.github.io/PostgreSQL-9.5.0-vs-MariaDB-10.1.11-vs-MySQL-5.7.0-year-2016/?time=1
Conclusion
MariabDB & MySQL has slight advantages at database writing
PostgreSQL has slight advantages at simple database read query
PostgreSQL has big advantages at complex database read query
As a result, I think that choosing PostgreSQL is a better options for RDBMS – provided that PostgreSQL comes with more features and following standard SQL.
Written on February 12, 2016
Compare incomparable: PostgreSQL vs Mysql vs Mongodb
http://erthalion.info/2015/12/29/json-benchmarks/
Why I Choose PostgreSQL Over MySQL/MariaDB
http://insights.dice.com/2015/03/19/why-i-choose-postgresql-over-mysqlmariadb/
PostgreSQL Vs MySQL And MySQL Vs Postgresql Performance 2016
https://www.bestwebsitesblogs.com/postgresql-vs-mysql-and-mysql-vs-postgresql-performance-2016/
Performance difference between MySQL and PostgreSQL for the same schema/queries
http://dba.stackexchange.com/questions/41232/performance-difference-between-mysql-and-postgresql-for-the-same-schema-queries