🆚 MySQL vs. PostgreSQL

Compare technologies based on real-world usage data *

Type

Database technology
Database technology

About

MySQL is an open-source relational database management system currently owned by Oracle.

It supports ACID transactions via the InnoDB storage engine, provides support for stored procedures, triggers, views, high availability through replication and clustering, and can scale to tables with billions of rows.

PostgreSQL, also known as Postgres, is a powerful open-source object-relational database system that extends SQL with features for storing structured, semi-structured and geometric data.

It supports ACID transactions, multiversion concurrency control (MVCC), advanced indexing types (GiST, GIN, BRIN), native JSON/JSONB with indexing, extensibility through custom types and functions, full-text search, foreign data wrappers, and geospatial queries via PostGIS.

Headquarters

Austin, Texas, United States
Toronto, Ontario, Canada

Website

Pricing

Free version ✔️Community Edition, open source
Commercial License
Standard Edition$2,140+/year
Enterprise Edition$5,350+/year
Cluster Carrier Grade Edition$10,700+/year
* The open source version of MySQL can be used for commercial purposes.
A commercial license is required for OEMs (Original Equipment Manufacturers), ISVs (Independent Software Vendors), and VARs (Value Added Resellers) who distribute MySQL with commercially licensed software.
Free ✔️Open source

Categories

Databases › Rank #1
Databases › Rank #5

Popularity

Determined by the number of sites using each technology.

MySQL database technology is 313 times more popular than PostgreSQL.
Total websites

Market share

Databases

Popularity by country

Determined by the number of sites detected from each country.

MySQL is more popular than PostgreSQL in all countries.
United States
Germany
United Kingdom
Japan
France
Spain
Italy
Australia
Netherlands
Russia

Awards

Popularity by domain category

Determined by the number of sites in each category.

MySQL is more popular than PostgreSQL in all market segments.
Business
Marketing/Merchandising
Online Shopping
Blogs/Wiki
Education/Reference
Internet Services
Entertainment
Travel
Health
Non-Profit/Advocacy/NGO

Top sites

Top-ranked sites that use these technologies.

Name
Rank
#12
View more ➝
Name
Rank
View more ➝

See also

* According to recent studies, many of online reviews are fake.
When making your decision, it is better to rely on data that cannot be falsified.
Our service evaluates the popularity of technologies by the number of websites using them.

Statistics were last calculated on .
For details, see our methodology and disclaimer.