Database versions and version policies

MySQL  |  PostgreSQL  |  SQL Server

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

Important: All Cloud SQL instances that are running community end-of-life(EOL) major versions of PostgreSQLare enrolled in extended support.If your instance is running an EOL major version, then you will be charged forextended support starting on May 1, 2025. For more information aboutextended support pricing, seePricing.

Database versions supported by Cloud SQL

The database engines supported by Cloud SQL include multiple versions.The versions can vary in capabilities and in the types of issues thatarise. While performing an upgrade can impact your users,providing up-to-date database features and important patches is also critical.Cloud SQL keeps your instances up-to-date with patches andminor version updates automatically.

Major and minor versions supported by Cloud SQL

Cloud SQL supports the following database versions:

Major versionMinor versionRegular support start dateExtended support start dateDeprecation date
PostgreSQL 17 (default)17.5October 22, 2024February 1, 2030February 1, 2033
PostgreSQL 1616.9June 7, 2024February 1, 2029February 1, 2032
PostgreSQL 1515.13May 24, 2023February 1, 2028February 1, 2031
PostgreSQL 1414.18November 11, 2021February 1, 2027February 1, 2030
PostgreSQL 1313.21November 5, 2020February 1, 2026February 1, 2029
PostgreSQL 1212.22May 21, 2020February 1, 2025*February 1, 2028
PostgreSQL 1111.22September 27, 2019February 1, 2025*February 1, 2028
PostgreSQL 1010.23March 27, 2020February 1, 2025*February 1, 2028
PostgreSQL 9.69.6.24April 1, 2018February 1, 2025*February 1, 2028
* From February 1, 2025 through April 30, 2025, Google has waivedcharges for extended support. Starting on May 1, 2025, allinstances running on major versions that have reached endof life (EOL) will be charged for extended support.

To avoid additional charges for extended support, we recommend that youupgrade your instance before May 1, 2025.

Cloud SQL database version format

For PostgreSQL 9.6, the first two numbers in the version number form the majorversion, and the last number is the minor version. For example, forversion 9.6.1, Cloud SQL uses9.6 as the major version, and1 as the minor version. ForPostgreSQL 10 and later, the first number is the major version.For example, forversion 10.1,10 is the major version,and1 is the minor version.

How to identify the database version of your Cloud SQL instance

You specify the database version when you create a Cloud SQL instance.If you don't specify a database version, then Cloud SQL uses the defaultdatabase version.

To view the database version of a Cloud SQL instance, do the following:

  1. In the Google Cloud console, go to theCloud SQL Instances page.

    Go to Cloud SQL Instances

  2. To open theOverview page of an instance, click the instance name.
  3. In theConfiguration card, view theDatabase version.

To filter instances by a specific database version within your Cloud SQL project, do the following:

  1. In the Google Cloud console, go to theCloud SQL Instances page.

    Go to Cloud SQL Instances

  2. In theFilter field, selectType. The database versions that arewithin your project are listed.
  3. To filter the instances, select a database version within your project.

To view all Cloud SQL instances and their database versions in your organization,useDatabase Center.You can also switch views in Database Center from projectto folders or organizations to get a complete list of all yourCloud SQL instances.For more information, seeFilter resources and export fleet inventory information.

Major version lifecycle

This section describes the support lifecycle for major versions in Cloud SQL.

Regular support

Cloud SQL supports new major versions within 90 days of their generalavailability release by thedatabase engine developer community.The first phase of this support isregular support. During regular support, Cloud SQL provides minor versionand maintenance updates for the database engine.Cloud SQL also applies security fixes to the instances.Cloud SQL offers regular support for a major version as long as thedatabase engine developer community supports the major version.After the major version reaches end-of-life (EOL) by the community,the major version enters extended support in Cloud SQL.

Extended support

For Cloud SQL for PostgreSQL major versions that havereached their EOL, Cloud SQL offers extendedsupport. Extended support lets you continue running your Cloud SQLinstances for three years even after the developer community stops supportingthe major versions on which the instances are running. Extended supportis offered for three years.You can use this time to plan, test, and perform the upgrade of your instancesto a major version that is in regular support. For more information aboutperforming a major version upgrade, seeUpgrade the database major version in-placeandUpgrade the database major version by migrating data.

For more information aboutextended support, seeExtended support in Cloud SQL.

Deprecation

After extended support has ended for a specific major version, Cloud SQLdeprecates the major version. An instance running on a deprecated major version isupgraded to the default major and minor version for the database engineautomatically. Cloud SQL sends a deprecation notice to projectowners at least 12 months before the deprecation date.

For Cloud SQL for PostgreSQL major versions, project owners receive a deprecation noticeat the end of the second year of extended support.

Minor version support

Cloud SQL supports new minor versions within 30 days of theirgeneral availability release by the database engine developer community.After Cloud SQL supports a new minor version, Cloud SQL provisionsnew instances on the new version automatically. During the next scheduledmaintenance rollout, Cloud SQL upgrades existing instances 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 aCloud SQL instance, Cloud SQL upgrades that version duringthe next maintenance cycle. You can control the day and time when maintenancerestarts occur bysetting a maintenance windowfor your instance.

Note: Cloud SQL might not support each new minor version released bythe database engine developer. For example, Cloud SQL might not supporta minor version that's found not to work well with Cloud SQL.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-14 UTC.