MySQL and PostgreSQL: different approaches to solve the same problem

Both DBs solve the same problem:

How to most effectively store and provide access to data, in an ACID-compliant way?

ACID compliance might be implemented in various ways and SQL databases can vary quite substantially how they choose to go about it. MySQL in particular, with the default InnoDB engine, takes a completely different approach to Postgres.

Both implementations have their own tradeoffs, set of advantages and disadvantages.

In theory, the MySQL (InnoDB) approach should have an edge for:

Postgres advantages are:

In theory, theory and practice are the same. But, let's see how it is in practice!

submitted by /u/BinaryIgor
[link] [comments]