Database version policies

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

Introduction

Cloud SQL supports the following database versions:

  • MySQL 8.0
  • MySQL 5.7 (default)
  • MySQL 5.6
  • PostgreSQL 12 (default)
  • PostgreSQL 11
  • PostgreSQL 10
  • PostgreSQL 9.6
  • SQL Server 2017 Standard (default)
  • SQL Server 2017 Enterprise
  • SQL Server 2017 Express
  • SQL Server 2017 Web

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

As indicated above, the database engines supported by Cloud SQL include multiple versions. The versions may 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

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 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.

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.

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 Date
MySQL 8.0 August 30, 2020
MySQL 5.6 August 1, 2016
MySQL 5.7 August 1, 2016
PostgreSQL 9.6 April 1, 2018
PostgreSQL 10 March 27, 2020
PostgreSQL 11 September 27, 2019
PostgreSQL 12 May 21, 2020
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