MySQL vs PostgreSQL comparison

You must select at least 2 products to compare!
Oracle Logo
17,097 views|14,205 comparisons
PostgreSQL Logo
10,223 views|8,459 comparisons
Comparison Buyer's Guide
Executive Summary

We performed a comparison between MySQL and PostgreSQL based on real PeerSpot user reviews.

Find out in this report how the two Open Source Databases solutions compare in terms of features, pricing, service and support, easy of deployment, and ROI.
To learn more, read our detailed MySQL vs. PostgreSQL Report (Updated: November 2022).
657,849 professionals have used our research since 2012.
Featured Review
Quotes From Members
We asked business professionals to review the solutions they use.
Here are some excerpts of what they said:
"It is pretty simple to use and I don't have anything really bad to say about it.""Table partitioning is most valuable. It is easy to use.""What I really like about MySQL is the opportunity to search for information and organize it any way I like.""MySQL is a popular database platform for businesses because it is extremely easy to use.""I like the JSON stuff.""It has a community version. When I have to create a new database, I have no problems with licenses.""It's a mature solution that's been around for decades.""It is very easy to install and has all basic database features."

More MySQL Pros →

"We managed to reduce the storage space needed to 10% of the original size, without affecting data integrity, and we significantly improved the performance.""It is a pretty comprehensive database system. Its performance is good, and it does what it is supposed to do. It also integrates very well.""It is very scalable and comes with a bonus: no licensing issues as you scale with your databases.""The solution is quite stable.""It is very useful for both structured and unstructured data. You can store unstructured and structured data in PostgreSQL. It is easy to use. You can easily manage things through PostgreSQL Admin. It is cost-effective. Its on-premise version is free. It is agnostic of on-premise or cloud. You can install it on the cloud or on-premises. It is available with all clouds, and you can also install it on desktop or Windows Servers.""It's a standard reliable database management system.""PostgreSQL makes it very adaptable to several descriptions of a record. Instead of having several tables or several relations for one entity, I can adapt this entity. It can be a multiform entity. For example, here in Mexico, a company and a person can be sold to us as a physical entity or a physical person.""The main value is that it is open source, which means it is free. Our organization has the initiative to go to open source to cut down on cost. Oracle costs us $6 million a year right now, which is killing us, and Postgres costs nothing. So, there is a big push to go to Postgres."

More PostgreSQL Pros →

"In an upcoming release, there should be something added similar to EPL. For example, when using the flow diagram, we can create a schema. We have two useful features to add or create the table, but there should be some UI features to allow us to drag and drop to create other schemas. This would be very helpful.""Even for the best database, we always want the database to perform much better, so we wish MySQL would be much better, in terms of performance.""As an open-source product, there isn't really any technical support available if you get into trouble or have issues.""The solution could improve by having better performance and security.""Its scalability can be better. It is probably not as scalable as Oracle. I had some issues with connectors. I used it from a C++ program, and it required some work to make it run, but finally, it worked.""The licensing of the solution is on the expensive side.""It could be a little bit simpler to use.""Scalability could be improved."

More MySQL Cons →

"I'd like to see better memory management. I think that that's one of the few areas that Postgres does not handle as well as MySQL does or did.""I had some issues when I integrated with the Jupyter Notebook.""PostgreSQL could improve by adding data warehousing tools.""It is possible that in the newer version this has been addressed, but I would like the deployment in microservices architecture could be improved.""Integration with other platforms could be improved.""I'm not really able to customize it.""It would be good to have machine learning functionality in this solution, similar to Microsoft SQL Server and other solutions. Machine learning capability for a basic level or a common user would be useful. It can also have good reporting capabilities.""As PostgreSQL is an open-source product, you do have to do a bit more configuration and management yourself."

More PostgreSQL Cons →

Pricing and Cost Advice
  • "There is a licensing cost because we are going for a proprietary product. There are some other versions for which there is no licensing cost."
  • "It has a community version."
  • "It is open-source."
  • "I am not paying, but I am not sure about the exact licensing requirements."
  • "We've never bought a commercial license. We just use the open-source community edition."
  • "I use the open-source free community version."
  • "There is a license needed for this solution."
  • "It is open source. We prefer it for POCs because it saves the license cost."
  • More MySQL Pricing and Cost Advice →

  • "PostgreSQL is a free and open-source database."
  • "It is free, but if you need support, you can go for the commercial version called EnterpriseDB. They provide paid support, and they can even do hosting for you if you want standby and support."
  • "It is open-source. If you use it on-premise, it is free. It also has enterprise or commercial versions. If you go for the cloud version, there will be a cost, but it is lower than Oracle or Microsoft."
  • "The solution requires a license."
  • "We do not pay for licensing."
  • "The need for our customers to pay for licences is contingent on their projects and budgets."
  • "This solution can offer a cheaper choice for customers since it is open-source."
  • "It is open source. There is no licensing."
  • More PostgreSQL Pricing and Cost Advice →

    Use our free recommendation engine to learn which Open Source Databases solutions are best for your needs.
    657,849 professionals have used our research since 2012.
    Questions from the Community
    Top Answer:Sometimes, I get lost in the toggles and buttons, and a better visual design would be nice. The layout is not user-friendly or efficient. I would like to be able to sort the data easily without having… more »
    Top Answer:I'm using it to create a small database for a project that I'm working on.
    Top Answer:Plan how the data will be constructed. I had to delete an entire database and start over because I didn't organize it properly. That was a huge block. I would rate MySQL at eight on a scale from one… more »
    Top Answer:PostgreSQL was designed in a way that provides you with not only a high degree of flexibility but also offers you a cheap and easy-to-use solution. It gives you the ability to redesign and audit your… more »
    Top Answer:The stability and the abundant community support resources.
    Top Answer:The solution is open-source. While you have to pay for it, for Postgre, you have to pay for consultancy and implementation. There is professional support, however, I'm not aware of the pricing for it… more »
    Average Words per Review
    Average Words per Review
    Firebird SQL logo
    Compared 19% of the time.
    MariaDB logo
    Compared 11% of the time.
    Oracle Database logo
    Compared 11% of the time.
    SQL Server logo
    Compared 11% of the time.
    SAP HANA logo
    Compared 7% of the time.
    Learn More
    Video Not Available

    MySQL is an open-source relational database management system (RDBMS) owned by Oracle. Before Oracle acquired the product, it was completely free for users. After the merge, the solution started offering paid services with more features, alongside a free version. MySQL can easily integrate with a wide variety of programming languages, which makes it one of the most flexible and reliable products among its competitors. This cost-effective solution helps users deliver high-performance and scalable database applications through several products. They include:

    • MySQL HeatWave: This is an in-memory query accelerator for MySQL. It is a parallel, columnar, hybrid query-processing engine with algorithms for distributed query processing. This database service is used for transactions, analytics, and machine learning (ML). It offers simplified, secure real-time analytics. It can be deployed on Oracle Cloud Infrastructure (OCI), Amazon AWS, Azure, and users' data centers.

    • My SQL Enterprise Edition: This edition of the solution includes the most comprehensive set of advanced features, technical support, and management tools. The combination functions achieves security, scalability, reliability, and uptime, while reducing risk, cost, and complexity, in managing MySQL applications.

    • MySQL Standard Edition: This edition utilizes industrial-strength performance and reliability to help users deliver high-performance and scalable Open Transaction Processing (OLTP) applications.

    • MySQL Classic Edition: This is an embedded database for independent software vendors (ISVs), original equipment manufacturers (OEMs), and value-added resellers (VARs), that are developing applications using the MyISAM storage engine.

    • MySQL Community Edition: This is the free version of the product, which is supported by a large active community of open-source developers.

    • MySQL Cluster CGE: This is a distributed database that combines linear scalability and high availability. It offers in-memory real-time access across partitioned and distributed databases.

    • MySQL Embedded: This product offers MySQL as an embedded database and is most widely used by ISVs, OEMs, and VARs. It is utilized for making applications, hardware, and appliances more competitive by bringing them to market faster while lowering their cost of goods sold (COGs).

    My SQL Features

    The characteristics of each MySQL edition differ depending on what it offers and what clients it is catered towards. But the main features of the product include the following:

    • Internals and portability: These capabilities allow MySQL to work on multiple platforms and provide transactional and non-transactional storage engines. This set of features is tested with Purify, Vilgrind, and a broad range of different compilers.

    • Data types: Due to the flexibility of the data types feature of MySQL, the product is compatible with a very wide variety of data types, including fixed-length and variable-length string types.

    • Statements and functions: This feature allows MySQL full operator and function support. It supports a wide variety of functions and allows users to refer to tables from different databases in the same statement.

    • Security: The security features of MySQL provide users with a flexible privileged password system that enables host-based verification. The product offers encryption of all password traffic when users connect to a server.

    • Scalability and limits: MySQL supports large databases with up to approximately 50 million records and up to 64 indexes per table.

    • Connectivity: The connectivity features of the product allow clients to connect to MySQL using several protocols, providing them with freedom of choice in terms of which ones to use.

    • Localization: Through this feature, the product offers availability to users in many languages. The server time zone can be changed dynamically and allows clients to specify their own time zone for their convenience.

    • Clients and tools: The product includes several client and utility programs among its capabilities.

    MySQL Benefits

    MySQL brings many benefits to organizations that use it for their data. The most common ones include:

    • Due to its initial open-source nature, MySQL is an easy to understand and beginner-friendly product.

    • The solution still supports an open-source version as well, which means users can download, use, and modify it based on their requirements.

    • MySQL ensures the consistency of data by storing it efficiently and minimizing redundancy.

    • This is considered one of the fastest solutions on the market, a fact which is backed by many benchmark tests.

    • MySQL is very flexible and supports a large number of embedded applications.

    • The solution is compatible with many operating systems.

    • This product offers clients the option to roll back transactions, as well as commit, and crash recovery.

    Reviews from Real Users

    According to a database engineer at a retailer with more than 10,000 employees, MySQL is a great open-source product that offers great scalability and compatibility.

    Yong S., a solutions specialist, system integration, appreciates this product because it has different licensing options and is easy to set up.

    PostgreSQL is a powerful and fully-featured database management system with which business owners can create object relational tables. It is an open source project that can be acquired for free and heavily focuses on elements such as extensibility and strict standard compliance. PostgreSQL is a flexible server system that can manage large workloads that are being contributed and accessed from a wide range of locations such as in a network, as well as small-scale projects like a single machine or user.

    Some technical details of interest about PostgreSQL include:

    • Its MVCC (Multi-inversion concurrency control) allows fluid changes to be made to the system without cumbersome roadblocks, while maintaining the optimal level of ACID.
    • Replication, built-in binary replication is available from the 9.0 version and later.
    • It offers a wide range of indexing capabilities, including B-tree and hash indexes, as well as GIN and GiST (generalized inverted indexes and generalized search trees).
    • It uses procedural languages that make it easier for developers to expand the database.
    Learn more about MySQL
    Learn more about PostgreSQL
    Sample Customers
    Facebook, Tumblr, Scholastic, MTV Networks, Wikipedia, Verizon Wireless, Sage Group, Glassfish Open Message Queue, and RightNow Technologies.
    Hundreds of companies have used PostgreSQL, including the University of Alabama, Birmingham, Berkman Center for Internet & Society at Harvard University, Champion Products, the United Nations Industrial Development Organization, the U.S. Agency for Disease Control and Prevention, and
    Top Industries
    Computer Software Company20%
    Financial Services Firm9%
    Manufacturing Company8%
    Comms Service Provider19%
    Computer Software Company19%
    Financial Services Firm9%
    Educational Organization6%
    Computer Software Company16%
    Comms Service Provider12%
    Financial Services Firm11%
    Comms Service Provider22%
    Computer Software Company16%
    Financial Services Firm10%
    Company Size
    Small Business49%
    Midsize Enterprise15%
    Large Enterprise36%
    Small Business23%
    Midsize Enterprise15%
    Large Enterprise62%
    Small Business46%
    Midsize Enterprise20%
    Large Enterprise34%
    Small Business22%
    Midsize Enterprise15%
    Large Enterprise62%
    Buyer's Guide
    MySQL vs. PostgreSQL
    November 2022
    Find out what your peers are saying about MySQL vs. PostgreSQL and other solutions. Updated: November 2022.
    657,849 professionals have used our research since 2012.

    MySQL is ranked 1st in Open Source Databases with 43 reviews while PostgreSQL is ranked 2nd in Open Source Databases with 35 reviews. MySQL is rated 8.0, while PostgreSQL is rated 8.0. The top reviewer of MySQL writes "A great open-source product that offers great scalability and compatibility". On the other hand, the top reviewer of PostgreSQL writes "A stable solution with an easy setup for media management". MySQL is most compared with Firebird SQL, MariaDB, Oracle Database, SQL Server and SAP HANA, whereas PostgreSQL is most compared with Firebird SQL, MariaDB, EDB Postgres Advanced Server, YugabyteDB and SQLite. See our MySQL vs. PostgreSQL report.

    See our list of best Open Source Databases vendors.

    We monitor all Open Source Databases reviews to prevent fraudulent reviews and keep review quality high. We do not post reviews by company employees or direct competitors. We validate each review for authenticity via cross-reference with LinkedIn, and personal follow-up with the reviewer when necessary.