This page describes Cloud SQL’s database version support policies.
Users can select a supported MySQL or PostgreSQL version on Cloud SQL. Cloud SQL currently supports:
- MySQL 5.5, 5.6, and 5.7
- PostgreSQL 9.6
Cloud SQL automatically keeps MySQL and PostgreSQL instances up to date with patches and minor version updates.
The database engines supported by Cloud SQL (currently MySQL and PostgreSQL) support multiple versions. Different versions might contain different functionality and issues. While Cloud SQL recognizes that upgrades impact users, we are committed to providing up-to-date functionality and important patches.
Major and minor versions
For PostgreSQL, the first two numbers in the version number form the major version number. For example, for version 9.6.1, Cloud SQL uses 9.6 as the major version, and 1 as the minor version.
Major version support
Each major version will be supported for a minimum of three years.
Minor version support
Cloud SQL performs periodic maintenance to ensure stability and security of database instances. Maintenance includes minor version updates for each database engine. Cloud SQL determines the target minor version for each database engine, and can upgrade the target minor version at any time.When the target minor version is different than the minor version for a Cloud SQL instance, Cloud SQL will upgrade that version during the next maintenance cycle. You can control the day and time when maintenance restarts occur by setting a maintenance window for your instance.
Major version deprecation plan
When Cloud SQL intends to end support for a specific major version, we will send a deprecation notice alerting customers a minimum of 12 months ahead. Cloud SQL will also provide tools to minimize upgrade disruption as needed. Any instance that has not moved to the new major version at the end of the 12 month period will be automatically upgraded.