Why favor PostgreSQL over MariaDB/MySQL?
The guy has deliberately changed a default setting (sql_mode) to make MariaDB&#x2F;MySQL look worse. When someone pointed that out in the comments, he left it unresponded. Which is already telling something about PostgreSQL evangelism.<p>Speaking of comparing MySQL and PostgreSQL functionality, I&#x27;ve been spending some time recently on this very topic. Both are great databases with interesting and sometimes unique features. Here are some of the features PostgreSQL is missing as compared to MySQL:<p>- synchronous multi-master cluster (Galera, Group Replication)<p>- distributed in-memory grid with automatic sharding (NDB)<p>- semi-synchronous replication (will be available in PostgreSQL 10)<p>- built-in logical replication (will be available in PostgreSQL 10)<p>- built-in event scheduler<p>- clustered indexes<p>- declarative partitioning (limited functionality will be available in PostgreSQL 10)<p>- optimizer hints<p>- optimizer tracing<p>- efficient MVCC implementation that is unaffected by XID wraparound problems and VACUUM issues (see also Uber&#x27;s report on moving from PostgreSQL to MySQL)<p>- page-level compression<p>- page-level encryption<p>- page-level incremental backups<p>- user variables<p>- NoSQL client APIs (HandlerSocket, memcached protocol, X protocol)<p>- virtual columns<p>- ability to choose data page size on database creation<p>- ability to specify column order when adding a new column with ALTER TABLE<p>- write-optimized storage engines similar to MyRocks and TokuDB<p>All of that may seem small from a developer&#x27;s standpoint. Those things, however, are huge for people who design and operate the busiest websites on the internet. Which is probably why MySQL still shines in that field.