PROVIDER - The most widely deployed open source RDBMS

MySQL

MySQL is the most deployed open source relational database, maintained by Oracle in community and commercial editions, with InnoDB transactions and replication covering most OLTP workloads as the default LAMP choice.

Backend & Database United States 2026.11.15
4.8pts

Service Overview

MySQL was first released by MySQL AB in 1995, acquired by Sun in 2008 and folded into Oracle with the Sun acquisition in 2010, which now maintains both the GPLv2 community edition and a commercial edition. It is the default database of the LAMP stack and the most deployed open source relational database worldwide.

For Backend & Database work the value of MySQL is certainty, since nearly every cloud provider, control panel, and hosting tutorial supports it first and answers are easy to find, while InnoDB transactions, replication, and Group Replication cover most business workloads.

Watch versions and licensing, as Oracle moved after 8.0 to a dual track of 8.4 LTS plus 9.x innovation releases, the community edition excludes official support and some enterprise features, and forks such as MariaDB and Percona Server differ in licence and functionality, so confirm lifecycle before choosing.

Key Strengths

  • The largest installed base means the broadest managed services and tooling support
  • InnoDB adds row-level locking, MVCC, and foreign keys for OLTP and mixed workloads
  • Replication, Group Replication, and InnoDB Cluster cover single-node to multi-region HA
  • 8.4 LTS ships an eight-year lifecycle of five Premier plus three Extended years

Product Ecosystem

Community and commercial editions

The community edition is free under GPLv2 while commercial adds support, auditing, and enterprise plugins, so distinguish free-to-run from backed-by-vendor in production.

InnoDB and replication

InnoDB is the default engine, asynchronous replication is most common, and Group Replication adds automatic failover at the cost of write latency across nodes.

HeatWave and managed services

Oracle HeatWave adds managed hosting with a columnar analytics engine, and every major cloud offers compatible managed variants easing migration.

Limitations

  • The community edition carries no official SLA, so incident response depends on in-house or third-party support
  • Single-primary write scaling is limited, and very large scale needs sharding middleware or NewSQL
  • Complex analytics lag PostgreSQL and usually require a separate OLAP component
  • The version policy moved quickly from 8.0 to 8.4, requiring active lifecycle tracking

Use Cases

  • Classic web stacks and LAMP applications (★★★★★) - The richest ecosystem and documentation
  • Transactional primary databases (★★★★★) - Reliable InnoDB transactions
  • Read-heavy workloads with replicas (★★★★) - Mature primary-replica replication
  • Complex reporting and warehousing (★★) - Use a columnar or OLAP engine instead

Pricing

Plan Price Scope
Community edition $0 GPLv2, self-managed
Commercial standard support Annual per server Official support and enterprise plugins
HeatWave managed MySQL Per OCPU and storage Columnar acceleration, fully managed

Self-hosting is free per instance with server and labour costs covering HA, backup, and monitoring, while managed plans trade operations for a monthly bill, cheaper below a traffic threshold and losing to self-hosting with a DBA above it.

FAQ

  • MySQL or PostgreSQL? Choose MySQL for simple OLTP with the widest ecosystem and talent pool, PostgreSQL for complex queries, JSONB, and extensions like PostGIS or pgvector, since most teams are limited by architecture rather than brand.

  • Is the community edition production ready? Yes, with heavy production use worldwide, but you must build backup, monitoring, and HA yourself and name an escalation owner, otherwise use a managed service.

  • 8.0 or 8.4? New projects should start on 8.4 LTS with its eight-year support window, while existing 8.0 deployments need a migration plan.

Code Examples

Create a table, insert, and aggregate

-- mysql -h <your-host> -u app -p appdb
CREATE TABLE orders (
    id         BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
    customer   VARCHAR(64) NOT NULL,
    amount     DECIMAL(12,2) NOT NULL,
    created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
    KEY idx_customer_created (customer, created_at)
) ENGINE=InnoDB;

INSERT INTO orders (customer, amount) VALUES ('acme', 99.50), ('acme', 240.00);
SELECT customer, SUM(amount) AS total FROM orders GROUP BY customer;

ENGINE=InnoDB is the MySQL 8 default with transactions and row-level locking, and the composite index (customer, created_at) serves both filtering and sorting.

Grouped ranking with a CTE and window function

-- MySQL 8.0+ supports CTEs and window functions, so one statement can rank groups
WITH monthly AS (
    SELECT customer,
           DATE_FORMAT(created_at, '%Y-%m') AS month,
           SUM(amount) AS total
    FROM orders
    GROUP BY customer, month
)
SELECT month, customer, total,
       RANK() OVER (PARTITION BY month ORDER BY total DESC) AS rk
FROM monthly
ORDER BY month, rk;

The CTE aggregates first and the window runs over that result set, which reads better than a self-join; RANK() skips numbers on ties while DENSE_RANK() does not.

Community & Resources

Communities and official channels

Learning resources and tools

  • Download page — Community installers and repository setup
  • MySQL forums — Installation, client, and server discussions
  • MySQL blog — Release, performance, and ecosystem articles
Visit MySQL Website → https://www.mysql.com/
Visit Website ↗