MySQL vs PostgreSQL vs SQLite comparison

Cancel
You must select at least 2 products to compare!
Oracle Logo
Read 142 MySQL reviews
10,630 views|8,491 comparisons
91% willing to recommend
PostgreSQL Logo
12,951 views|10,477 comparisons
96% willing to recommend
SQLite Logo
1,825 views|1,821 comparisons
88% willing to recommend
Comparison Buyer's Guide
Executive Summary

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

Find out what your peers are saying about Oracle, PostgreSQL, Firebird and others in Open Source Databases.
To learn more, read our detailed Open Source Databases Report (Updated: April 2024).
769,599 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:
Pros
"It's a mature solution that's been around for decades.""The most valuable features are that it's free and the documentation is good.""I like MySQL because of its community.""The initial setup is easy.""The way that MySQL has improved my organization is that it comes free and also works fine on the technical side.""For starters, it's free, which is always nice, and it's also pretty straightforward to use. It's a nice conventional database.""However, it is easy to scale MySQL using the functions provided with the product.""MySQL is easy and convenient for me. I don't need to rely on anyone. I can write the code and extract the information. It is fast if you know how to use it. The solution is not expensive, and most of the developers know how to use it. It is easy to create tables. The solution is stable and has good performance. The connection with AWS gives regular updates, which is manual otherwise and a nightmare."

More MySQL Pros →

"What I like is that it's quite powerful in terms of performance.""It's quite scalable.""It is very simple to manage.""The most valuable feature is the performance.""The product is very similar to the SQL Server.""The community support and the open-source community for it are good.""It's a transactional database, so we use Postgres for most of our reporting. That's where it's helping.""Initial setup is simple."

More PostgreSQL Pros →

"The product is lightweight and highly scalable.""It was a bit easy to use compared to other tools. It's simple. I found it pretty easy to execute my SQL queries.""SQLite’s most valuable feature is the ability to store granular-level backups of databases.""I use Flutter Technology with the JSF plugin.""Sometimes, you want data to persist within the app even when there's no internet connectivity. To avoid showing blank screens, we can use SQLite to store data locally and then sync it with the cloud database when connectivity is restored.""I haven't encountered any problems in my use cases. So, it has been a stable product for me."

More SQLite Pros →

Cons
"Clusters are hard to perform so we use no SQL alternates like MongoDB.""It would be helpful if there were a graphical user interface to administer, configure, and tune it.""From a user perspective, the initial setup could be simplified a bit.""MySQL tutorials and guides could be improved. Often they are too complex for someone with no database experience to understand.""When I run into issues, I really have to research how to fix them.""MySQL could be improved by adding more automation.""The replication needs improvement. It's becoming a native cloud product like Oracle DB or Cockroach DB.""Stability needs improvement and the backup needs to be enhanced."

More MySQL Cons →

"It is possible that in the newer version this has been addressed, but I would like the deployment in microservices architecture could be improved.""The solution needs to improve the query, documentation, and JSON data functionality.""I have noticed that user and access management should be improved.""PostgreSQL could improve by providing a geographical solution for tracking trucks and people in the field. They might already have features similar to this and I have not found them. I haven't done research about this topic.""The performance of PostgreSQL could improve.""The solution could improve the integration.""The price could be better.""It could be more secure."

More PostgreSQL Cons →

"Compared to other tools, the performance was less effective than that of Microsoft Access.""There are some difficulties on the server side. When syncing data with databases like SQL Server or Oracle, SQLite requires a kind of double effort.""It could have a user-friendly GUI and better intelligence features.""I primarily use SQLite for small-scale applications due to its limitations in storing large amounts of data. For larger-scale projects, I typically opt for MySQL or other alternatives. Storing a large number of dates in SQLite can significantly impact its performance.""The performance could be better.""A potential drawback is that the database file stored within the application's local storage could be accessible to users."

More SQLite Cons →

Pricing and Cost Advice
  • "When you know the setup will continue to grow, make sure you have the paid support."
  • "​Enterprise editions and support are definitely needed for the heavy users who need direct support. ​"
  • "MySQL Enterprise Support is not cheap, though might still be cheaper than Oracle or SQL Server. They may not have local support depending on where you’re based, but there are many smaller agencies out there that will readily provide support. You’ll need to spend some time looking around."
  • "Can range from free to quite expensive, depending on the environments and requirements, so better to really set goals ahead of setting it up."
  • "I am using the Community Edition, which is available free of charge."
  • "This is an open-source product that can be used free of charge."
  • "It's an open-source database management system that can be used free of charge."
  • "Microsoft licensing for SQL Server is probably ten times more expensive. I used to work for the government, and I remember when we were looking into upgrading to the enterprise version of SQL Server 2019, the licensing was going to cost 350,000. To get the equivalent in the cloud, it was going to be about four grand to get the same processing power and everything else. With MySQL, it was going to be about 300 for the same licensing. Cost-wise, for sure, there is a huge difference. Would you prefer to pay 300 a month or 3,000 to have the same amount of data resources? You might lose a few options that you need, but it isn't worth the price difference."
  • More MySQL Pricing and Cost Advice →

  • "Affordable solution."
  • "It is free. There is no license on it."
  • "It is also open-source so it is free."
  • "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."
  • More PostgreSQL Pricing and Cost Advice →

  • "I rate the product’s pricing a six out of ten."
  • "The tool is open-source."
  • "It's a good value."
  • "It's not expensive."
  • More SQLite Pricing and Cost Advice →

    report
    Use our free recommendation engine to learn which Open Source Databases solutions are best for your needs.
    769,599 professionals have used our research since 2012.
    Questions from the Community
    Top Answer:MySQL encrypts connections to protect your data and the biggest benefit from this is that nobody can corrupt it. If you… more »
    Top Answer:I may be considered a MySQL veteran since I have been using it since before Oracle bought it and created paid versions… more »
    Top Answer:One thing I would improve related to MySQL is not within the product itself, but with the guides to it. Before, when it… 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… more »
    Top Answer:I haven't encountered any problems in my use cases. So, it has been a stable product for me.
    Top Answer:A potential drawback is that the database file stored within the application's local storage could be accessible to… more »
    Ranking
    1st
    Views
    10,630
    Comparisons
    8,491
    Reviews
    31
    Average Words per Review
    416
    Rating
    8.5
    2nd
    Views
    12,951
    Comparisons
    10,477
    Reviews
    7
    Average Words per Review
    368
    Rating
    8.9
    9th
    Views
    1,825
    Comparisons
    1,821
    Reviews
    4
    Average Words per Review
    436
    Rating
    7.0
    Comparisons
    Firebird SQL logo
    Compared 27% of the time.
    MariaDB logo
    Compared 8% of the time.
    Teradata logo
    Compared 7% of the time.
    SAP HANA logo
    Compared 7% of the time.
    Vertica logo
    Compared 1% of the time.
    Firebird SQL logo
    Compared 37% of the time.
    MariaDB logo
    Compared 14% of the time.
    Chroma logo
    Compared 2% of the time.
    YugabyteDB logo
    Compared 2% of the time.
    Firebird SQL logo
    Compared 49% of the time.
    MariaDB logo
    Compared 15% of the time.
    Oracle Berkeley DB logo
    Compared 9% of the time.
    LanceDB logo
    Compared 2% of the time.
    Learn More
    PostgreSQL
    Video Not Available
    SQLite
    Video Not Available
    Overview

    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 versatile and reliable database management system commonly used for web development, data analysis, and building scalable databases. 

    It offers advanced features like indexing, replication, and transaction management. Users appreciate its flexibility, performance, and ability to handle large amounts of data efficiently. Its robustness, scalability, and support for complex queries make it highly valuable. 

    Additionally, PostgreSQL's extensibility, flexibility, community support, and frequent updates contribute to its ongoing improvement and stability.

    SQLite is an open-source, serverless, reliable, and flexible, SQL database engine. It is particularly favored in the realm of embedded database solutions and small to medium-sized projects. Unlike traditional database systems that operate on a client-server model, SQLite is a serverless database engine, meaning it runs directly within the application it powers. This unique architecture makes SQLite an ideal choice for applications where simplicity, efficiency, and minimal configuration are paramount.

    SQLite is an embedded database engine, which means it operates directly within the application that uses it, without requiring a separate server process. It is designed to be cross-platform, supporting multiple operating systems, and is is compatible with a wide range of programming languages, such as C, C++, Python, Java, and more. This makes it highly portable and suitable for a wide range of applications, from mobile devices to desktop software and web applications.

    The key advantages of SQLite is its reliability, the lightweight nature and efficient performance. It has a small footprint, typically requiring only a few megabytes of disk space, and can operate entirely in memory if needed. It is designed to be reliable and robust, with built-in features such as atomic commit and rollback, which ensure data integrity even in the event of system crashes or power failures. Finally, the SQLite solution requires no configuration or setup, making it easy to use and deploy. It can be embedded directly into applications without the need for complex installation or configuration procedures.

      SQLite Functionality

      • SQL Compliance: SQLite supports a substantial portion of the SQL standard, including features like transactions, triggers, views, and indexes.
      • File-based Storage: SQLite stores its entire database as a single cross-platform file on the host machine's file system.
      • ACID Compliance: SQLite fully supports ACID (Atomicity, Consistency, Isolation, Durability) transactions, ensuring data consistency and integrity in concurrent access scenarios.

      SQLite is an open-source project distributed under a public domain license, which means it can be used, modified, and distributed freely, without any licensing costs or restrictions.

      To summarize, SQLite is widely used in various applications, including web browsers (e.g., Mozilla Firefox, Google Chrome), mobile applications (e.g., Android, iOS), embedded systems, and desktop software. Its simplicity, portability, and efficiency make it a popular choice for developers who require a lightweight and reliable database solution, especially in resource-constrained environments or applications with modest data storage needs.

      Sample Customers
      Facebook, Tumblr, Scholastic, MTV Networks, Wikipedia, Verizon Wireless, Sage Group, Glassfish Open Message Queue, and RightNow Technologies.
      1. Apple 2. Cisco 3. Fujitsu 4. Instagram 5. Netflix 6. Red Hat 7. Sony 8. Uber 9. Cisco Systems 10. Skype 11. LinkedIn 12. Etsy 13. Yelp 14. Reddit 15. Dropbox 16. Slack 17. Twitch 18. WhatsApp 19. Snapchat 20. Shazam 21. SoundCloud 22. The New York Times 23. Cisco WebEx 24. Atlassian 25. Cisco Meraki 26. Heroku 27. GitLab 28. Zalando 29. OpenTable 30. Trello 31. Square Enix 32. Bloomberg
      Oracle, Bloomberg, Bentley, Mozilla
      Top Industries
      REVIEWERS
      Computer Software Company22%
      Financial Services Firm11%
      University10%
      Comms Service Provider9%
      VISITORS READING REVIEWS
      Computer Software Company16%
      Comms Service Provider10%
      Financial Services Firm10%
      Manufacturing Company6%
      REVIEWERS
      Computer Software Company14%
      Comms Service Provider13%
      Financial Services Firm9%
      University8%
      VISITORS READING REVIEWS
      Computer Software Company15%
      Comms Service Provider12%
      Financial Services Firm10%
      Manufacturing Company7%
      VISITORS READING REVIEWS
      Computer Software Company20%
      Comms Service Provider16%
      Manufacturing Company8%
      University7%
      Company Size
      REVIEWERS
      Small Business45%
      Midsize Enterprise19%
      Large Enterprise37%
      VISITORS READING REVIEWS
      Small Business26%
      Midsize Enterprise15%
      Large Enterprise59%
      REVIEWERS
      Small Business45%
      Midsize Enterprise20%
      Large Enterprise35%
      VISITORS READING REVIEWS
      Small Business27%
      Midsize Enterprise14%
      Large Enterprise59%
      REVIEWERS
      Small Business56%
      Midsize Enterprise11%
      Large Enterprise33%
      VISITORS READING REVIEWS
      Small Business28%
      Midsize Enterprise16%
      Large Enterprise56%
      Buyer's Guide
      Open Source Databases
      April 2024
      Find out what your peers are saying about Oracle, PostgreSQL, Firebird and others in Open Source Databases. Updated: April 2024.
      769,599 professionals have used our research since 2012.