I was looking for a blog post or feature matrix that compares MySQL and PostgreSQL with their JSON capabilities. I found a good functional matrix for Postgres , but not for MySQL. There are also columns, such as this , that compare the two, but are outdated and / or not very detailed. So far, I have only learned that both can save data using the JSONB data type, can index by JSON fields to improve query performance and so that they can perform full-text searches on these fields. But not how good and what the disadvantages are. What is the decisive factor for supporting MySQL over Postgres and vice versa for their JSON lookup functions?
(This question was posted when MySQL 5.7 and PostgreSQL 9.6 were current versions, things change quickly, so readers should keep this in mind.)
source share