Softwr

Databases · head to head

MySQL vs Vitess

MySQL logo

MySQL

Databases

Open source database

From
Free
Free plan
Yes
Vitess logo

Vitess

Databases

Scalable database clustering system for horizontal scaling of MySQL

From
Free
Free plan
Yes

The short version

  • MySQL is an open-source relational database management system.
  • Vitess is free; MySQL starts at $2000/yr.
  • Only MySQL lists ACID compliance; only Vitess lists horizontal Sharding.
  • Where MySQL falls short: hot online backup is not in the free Community Server; MySQL Enterprise Backup is a paid Enterprise Edition component.
  • Where Vitess falls short: VTGate scatter queries without sharding key incur significant performance penalties.

How do MySQL and Vitess differ?

MySQL and Vitess differ on platforms and year founded (1995 against 2010). Only the attributes on which MySQL and Vitess actually diverge.

Attributes where MySQL and Vitess differ
AttributeMySQLVitess
PlatformsWindows, macOS, LinuxLinux, macOS, Self-hosted
Founded19952010

Identical on both: starting price (Free), free tier (Yes), category (Databases).

Not yet recorded: pricing model for Vitess.

Which features does each one have?

They share no listed features; 20 appear only for MySQL and 15 only for Vitess. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in MySQL

  • ACID compliance
  • SQL support
  • Multi-version concurrency control
  • Replication
  • Partitioning
  • Stored procedures
  • Triggers
  • Views

Only in Vitess

  • Horizontal Sharding
  • Connection Pooling
  • Query Routing
  • Online Schema Changes
  • Shard Management
  • Replication Management
  • Automated Failover
  • MySQL

What is each one used for?

MySQL is most often brought in for web application backend; Vitess for transaction processing. The jobs each tool is most often brought in to do.

MySQL

  • Web application backendnot Vitess
  • E-commerce platformsnot Vitess
  • Content management systemsnot Vitess
  • Data warehousingnot Vitess
  • Business applicationsnot Vitess

Vitess

  • Transaction processingnot MySQL
  • Data storagenot MySQL
  • Application backendnot MySQL
  • Reportingnot MySQL
  • Data analyticsnot MySQL

Where do MySQL and Vitess fall short?

MySQL's most cited limit: hot online backup is not in the free Community Server; MySQL Enterprise Backup is a paid Enterprise Edition component. Vitess's: VTGate scatter queries without sharding key incur significant performance penalties. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

MySQL

  • Hot online backup is not in the free Community Server; MySQL Enterprise Backup is a paid Enterprise Edition component
  • Transparent Data Encryption, data masking and de-identification are Enterprise Edition only
  • MySQL Enterprise Firewall, which guards against SQL injection, and MySQL Enterprise Audit are both paid components
  • External authentication against PAM or Windows Active Directory requires MySQL Enterprise Authentication
  • The thread pool ships as MySQL Enterprise Scalability rather than in the community build

Vitess

  • VTGate scatter queries without sharding key incur significant performance penalties
  • Foreign key constraints not enforced across shards, requiring application-level integrity handling
  • Single primary per keyspace limits multi-region write capabilities
  • Distributed transactions without proper sharding key routing suffer performance degradation

How much do MySQL and Vitess cost?

MySQL has a free plan, with paid plans from $2000/yr; Vitess is free to use. Plan by plan below, from each vendor's own pricing page.

MySQL

Free
  • Community EditionFree
    • Open source license
    • Full SQL support
    • InnoDB storage engine
  • Standard Edition$2,000/yr
    • Commercial license
    • Oracle Premier Support
    • MySQL Enterprise backup
  • Enterprise Edition$5,000/yr
    • Advanced security
    • MySQL Enterprise Monitor
    • High Availability

Vitess

Free
  • Open source (Apache-2.0)Free

Which should you pick?

Choose MySQL if

  • You need acid compliance.
  • You want to start without paying.
  • You work on Windows, macOS, Linux.
  • You also want sql support.

Choose Vitess if

  • You need horizontal sharding.
  • You want to start without paying.
  • You work on Linux, macOS, Self-hosted.
  • You also want connection pooling.

Questions people ask

Is MySQL or Vitess better?
It depends on the job. MySQL fits web application backend; Vitess fits transaction processing. MySQL starts at Free and Vitess at Free.
Which is cheaper, MySQL or Vitess?
MySQL starts at Free and Vitess at Free.
Does MySQL or Vitess run on more platforms?
MySQL runs on Windows, macOS, Linux. Vitess runs on Linux, macOS, Self-hosted.
Can I use MySQL for free?
Both have a free tier, so you can try either at no cost before committing.
What is MySQL best used for?
MySQL is most often used for web application backend, e-commerce platforms, content management systems, data warehousing. Of those, web application backend and e-commerce platforms are not what Vitess is typically brought in for.
What can MySQL do that Vitess cannot?
MySQL covers ACID compliance, SQL support, Multi-version concurrency control, Replication. Vitess covers Horizontal Sharding, Connection Pooling, Query Routing, Online Schema Changes.

Answered from the vendors’ own pages

MySQL: Does MySQL cost money?

MySQL is primarily open-source and free to use. Commercial editions and support services are available but pricing is not published on the main website.

Source
Vitess: Is Vitess free to use?

Yes. Vitess is completely free and open source under the Apache 2.0 license. It is a graduated CNCF project with no licensing costs or pricing tiers.

Source
MySQL: How do I get MySQL pricing information?

For MySQL commercial editions and support pricing, customers can contact MySQL sales directly at +1-866-221-0634 or navigate to individual product pages.

Source
Vitess: What databases does Vitess support?

Vitess supports MySQL and MariaDB as backend databases. It acts as a middleware layer that adds sharding and orchestration capabilities on top of these databases.

Source
Vitess: Does Vitess require Kubernetes to run?

No. Vitess can run on Kubernetes using the Vitess Operator, but it can also be deployed on traditional infrastructure. Kubernetes integration is optional and provides additional automation benefits.

Source
Vitess: How does Vitess handle cross-shard transactions?

Vitess supports distributed transactions across shards, but they require queries to be routed through the sharding key. Transactions without a proper sharding key can result in slower performance.

Source
Vitess: Does Vitess enforce foreign key constraints?

Vitess does not enforce foreign key constraints across shards by default. Referential integrity must be managed at the application layer, though per-database support can be enabled with limitations.

Source
Share

Related pages

Other head to heads