But let's take a closer look at MySQL and Postgres across several important database categories: performance; SQL compliance; complex queries and data handling; replication; scalability and security.