Sutrion

Statistics

MySQL vs PostgreSQL: usage statistics 2026

Last updated:

In short

MySQL is detected on 853,837 online shops in 2026 and PostgreSQL on 6,994, giving MySQL a 122.1-to-1 lead according to Sutrion's Shop Index.

Key figures

  • MySQL is detected on 853,837 online shops in 2026 and PostgreSQL on 6,994, according to Sutrion's Shop Index (November 2026).

  • MySQL is used by 122.1 times as many online shops as PostgreSQL in 2026, according to Sutrion's Shop Index (November 2026).

Online shops using MySQL and PostgreSQL, by country (November 2026): MySQL share

The same figures are in the table below. Download this chart (SVG), free to use with a link to this page.

What stands out

Among software engineers, PostgreSQL is hugely popular, yet in e-commerce MySQL outnumbers it by 853,837 shops to 6,994. That 122.1-to-1 ratio comes down to history: the major self-hosted shopping carts were built on MySQL decades ago, leaving PostgreSQL with a 0% share on Shopify and Ecwid and just 0.8% on custom or other platforms. Interestingly, France shows the highest appetite for PostgreSQL at 0.8% (1,226 shops), compared to 0.1% in the United States. My read is that unless a merchant builds a custom storefront from scratch, their database is chosen for them the day they pick their shopping cart. If you run a custom shop on your own server, check that your database version is still receiving security updates.

What these figures can't tell you: Databases sit behind the scenes on the server, so our figures capture shops where the platform or server headers reveal the database rather than every silent back-end installation.

Written by Muneb Momin with an AI writing assistant, from this page's figures only; every number in it is checked against the page.

MySQL vs PostgreSQL by country

Online shops using MySQL and PostgreSQL, by country (November 2026)
CountryMySQL shopsMySQL sharePostgreSQL shopsPostgreSQL share
The United States179,44123.7%6690.1%
Spain82,32461.8%8570.6%
France77,57548.3%1,2260.8%
Italy71,07457.3%2540.2%
The United Kingdom60,75730.8%1860.1%
Germany51,91835.6%4230.3%
The Netherlands33,57544.5%2380.3%
Canada33,12827.9%3080.3%
Australia29,90428.8%1720.2%

MySQL vs PostgreSQL by e-commerce platform

Shops on each platform using MySQL and PostgreSQL (November 2026)
PlatformMySQL sharePostgreSQL share
Other or own-built platforms24.6%0.8%
Shopify0.3%0%
Ecwid17.1%0%

MySQL vs PostgreSQL by shop size

Shops of each size using MySQL and PostgreSQL (November 2026)
Traffic rankMySQL sharePostgreSQL share
Top 10,00033.5%0.3%
Top 100,00042.5%0.4%
Top 500,00042.6%0.4%
Top 1 million34.3%0.2%
Beyond the top 1 million23.6%0.1%

How technologies are counted

  • Technologies are detected by HTTP Archive from each shop's home page, using the open Wappalyzer rules. A tool loaded only on other pages, or only after a visitor clicks, may not be counted, so every count is a lower bound.
  • Shares are of all online shops in the group named (a country, a platform or a size band) in Sutrion's Shop Index for November 2026. A technology gets a page for a country when at least 300 shops there use it.

How these statistics were measured

  • Sutrion's Shop Index joins two public datasets by web address: HTTP Archive's October 2026 crawl, which records what each website is built with and its home page code, and the Chrome UX Report for October 2026, which records speed as real Chrome users experienced it.
  • The Shop Index holds 2,346,411 online shops in November 2026: every website on which HTTP Archive detected e-commerce software and which also appears in the Chrome UX Report.
  • Speed figures cover the 1,057,862 shops with enough real visitors for Chrome to report all the measures; smaller shops have no speed figure and are left out of speed shares.
  • Accessibility figures describe each shop's home page only, as HTTP Archive's crawler loaded it. They count code problems a machine can see, not everything a disabled customer may meet.
  • A figure for a platform or a country is shown only when at least 1,000 shops stand behind it. Every figure is a count of shops in the Shop Index; none is an estimate of all shops on the web.
  • A shop's country is the country where most of its Chrome visitors are. The figures were last updated on 12 November 2026. You may quote any figure with a link to this page.

Related

More statistics

Cite or share these figures

You are welcome to quote these figures with a link to this page:

Sutrion (November 2026). MySQL vs PostgreSQL: usage statistics 2026. Sutrion Shop Index. https://www.sutrion.tech/statistics/mysql-vs-postgresql

Share on LinkedIn · Share on X

Get the list of these shops

The online shops behind these figures, in a spreadsheet: website, platform, traffic band, technologies, speed and accessibility results. See how many there are for free.

See the shops

Download the data

The figures behind these pages as spreadsheets (CSV): platforms, countries, and how many shops use each technology, by country and by platform. Free. We email you the links.

We use your answers to decide what to send you. See our privacy notice.

Check one shop

These figures are averages. To see what your own shop gets wrong, run the free check: it takes about 30 seconds.

Check my shop