Google Cloud Spanner vs MySQL
Google Cloud Spanner
cloud.google.comMySQL
mysql.comSide by side
| Figure | Google Cloud Spanner | MySQL |
|---|---|---|
| Price from | — | Free |
| Free plan | — | Yes |
| Free trial | Yes | Yes |
| Open source | — | — |
| Web | Yes | — |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | Yes | Yes |
| API | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 7 | 18 |
| Spec score · Distributed SQL Databases | 8.3 (#10) | 9.1 (#2) |
| Spec score · Database Software | 8.4 (#32) | 9.5 (#1) |
| Spec score · Transaction Data Store Software | 8.1 (#18) | 8.9 (#5) |
| Free plan | No | Yes |
| Support | Google lists support packages, Stack Overflow, online help communities, and bug or feature requests as support options for Spanner instances. | MySQL Enterprise technical support provides 24x7 direct access to MySQL support engineers. |
| Transactions | Spanner provides strong transactional consistency and describes its transactions as Strong-ACID with TrueTime ordering. | MySQL is transaction-safe and ACID compliant with commit, rollback, crash recovery and row-level locking. |
Plans
Google Cloud Spanner
- StandardPrice not published
- EnterprisePrice not published
- Enterprise PlusPrice not published
- Spanner free trial instanceFree
- Standard edition compute$0.03 a month
- Enterprise edition compute$0.04 a month
- Enterprise Plus edition compute$0.06 a month
MySQL
- Community EditionPrice not published
- Community EditionPriced on request
- Standard EditionPriced on request
- Standard EditionPrice not published
- Enterprise EditionPriced on request
- Enterprise EditionPrice not published
- Cluster Carrier Grade EditionPriced on request
- Cluster Carrier Grade EditionPrice not published
- MySQL Cluster Carrier Grade EditionPriced on request
- MySQL Enterprise EditionPriced on request
In their own words
Google Cloud Spanner
Google Cloud Spanner is a paid database service combining relational, graph, key-value, and search capabilities. It provides Strong-ACID transactions ordered with TrueTime, horizontal read and write scaling, automatic sharding, and geo-partitioning. Configurations include single-region, dual-region, and multi-region deployments, with Google describing availability up to 99.999%. Spanner Graph, vector search, and built-in full-text search are included. A columnar engine supports ad hoc analytics on live data, and BigQuery integration enables federated queries. Spanner Omni is downloadable for on-premises, cross-cloud, or laptop deployment. Client libraries cover C++, C#, Go, Java, Node.js, PHP, Python, and Ruby. Integrations include Cloud Run, Dataflow, Cloud Storage, Compute Engine, GKE, Gemini Enterprise Agent Platform, and Looker. Security includes encryption in transit and identity and access controls. PostgreSQL compatibility, horizontal scaling, multi-region deployment, geo-partitioning, and HTAP workloads are listed.