PostgreSQL Tutorial: The Difference Between PostgreSQL and MySQL

There is no good or bad technology. Just check whether it fits your business and whether it can solve your business needs. Secondly, you should also check the activity of the community and the frequency of updates.

Several things that MySQL does not support:

  • MySQL's data types are not rich enough.
  • MySQL does not support the concept of sequence, Sequence.
  • When using MySQL, there are relatively easy-to-use plug-ins on the Internet.
  • There are not many performance optimization monitoring tools for MySQL, and the cost of locating problems is relatively high.
  • MySQL's master-slave replication does not have an official synchronization strategy, and synchronization problems are difficult to solve.
  • Although MySQL is open source, it is not thorough enough.

The characteristics of PostgreSQL compared to the above problems of MySQL:

  • PostgreSQL has a wealth of data types.
  • PostgreSQL has the concept of sequence.
  • PostgreSQL has a particularly rich set of plug-ins.
  • PostgreSQL supports master-slave replication synchronization operations, which can achieve zero data loss.
  • PostgreSQL's MVCC implementation is quite different from MySQL. PostgreSQL stores multiple versions of a row of data. Up to 4 billion transaction versions can be stored.

Guess you like

Origin blog.csdn.net/a772304419/article/details/132921646