Database version policies

This page describes Cloud SQL's database version support policies.

Major and minor versions supported by Cloud SQL

Cloud SQL supports the following database versions:

Major version Minor version
MySQL 8.0 (default)8.0.36
8.0.35
8.0.34
8.0.33
8.0.32
8.0.31 (default)
8.0.30
8.0.29 (deprecated)
8.0.28
8.0.27
8.0.26
8.0.18
MySQL 5.7 5.7.44
MySQL 5.6 5.6.51
Major versionMinor version
PostgreSQL 15 (default)15.5
PostgreSQL 14 14.10
PostgreSQL 1313.13
PostgreSQL 1212.17
PostgreSQL 1111.22
PostgreSQL 1010.23
PostgreSQL 9.69.6.24
Major versionMinor version
SQL Server 2022 StandardCU7
SQL Server 2022 EnterpriseCU7
SQL Server 2022 ExpressCU7
SQL Server 2022 WebCU7
SQL Server 2019 Standard (default)CU22
SQL Server 2019 EnterpriseCU22
SQL Server 2019 ExpressCU22
SQL Server 2019 WebCU22
SQL Server 2017 StandardCU31
SQL Server 2017 EnterpriseCU31
SQL Server 2017 ExpressCU31
SQL Server 2017 WebCU31

Cloud SQL automatically keeps your instances up to date with patches and minor version updates.

As indicated in the previous table, the database engines supported by Cloud SQL include multiple versions. The versions can vary in their functionality and in the types of issues that arise. 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 MySQL, the first two numbers in the version number form the major version number. For example, for version 5.7.13, Cloud SQL uses 5.7 as the major version, and 13 as the minor version.

For PostgreSQL 9.6, 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.

For PostgreSQL 10 and upwards, the first number is the major version number. For example, for version 10.1, 10 is the major version number, and 1 is the minor version.

For SQL Server, the date forms the major version number.

Major version support

Cloud SQL aims to support new major versions within five months of general availability release by the database engine developer.

Minor version support

Cloud SQL aims to support new minor versions within three months of general availability release by the database engine developer.

MySQL 5.6 and 5.7

After Cloud SQL starts supporting a new minor version, new instances are provisioned on the new version automatically. During the next scheduled maintenance rollout, existing instances are upgraded to the new version .

Cloud SQL determines the target minor version for each database engine. When the target minor version is different from the minor version for a Cloud SQL instance, Cloud SQL upgrades 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.

MySQL 8.0

After Cloud SQL starts supporting a new minor version, users can upgrade existing instances to this version. After the new minor version becomes the default version, new instances are provisioned on the new minor version automatically.

Major version deprecation plan

When Cloud SQL intends to end support for a specific major version, we will send a deprecation notice alerting project owners 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.

When did Cloud SQL support for each database version begin?

The following table shows when Cloud SQL support for database versions became generally available.

Version Start date
MySQL 8.0 August 30, 2020
MySQL 5.7 August 1, 2016
MySQL 5.6 August 1, 2016
PostgreSQL 15 May 24, 2023
PostgreSQL 14 November 11, 2021
PostgreSQL 13 November 5, 2020
PostgreSQL 12 May 21, 2020
PostgreSQL 11 September 27, 2019
PostgreSQL 10 March 27, 2020
PostgreSQL 9.6 April 1, 2018
SQL Server 2022 Standard June 26, 2023
SQL Server 2022 Enterprise June 26, 2023
SQL Server 2022 Express June 26, 2023
SQL Server 2022 Web June 26, 2023
SQL Server 2019 Standard June 24, 2021
SQL Server 2019 Enterprise June 24, 2021
SQL Server 2019 Express June 24, 2021
SQL Server 2019 Web June 24, 2021
SQL Server 2017 Standard February 19, 2020
SQL Server 2017 Enterprise February 19, 2020
SQL Server 2017 Express February 19, 2020
SQL Server 2017 Web February 19, 2020