Cloud SQL extends PostgreSQL 9.6 version support beyond end-of-life. Learn more in this blog.

Jump to

Cloud SQL for PostgreSQL

PostgreSQL is the industry's leading open source relational database with an active and growing ecosystem of developers and tools. With Cloud SQL for PostgreSQL, you can now spend less time on your PostgreSQL database operations, and more time on your applications.

  • action/check_circle_24px Created with Sketch.

    Full compatibility for your PostgreSQL applications on all major versions: 13, 12, 11, 10, 9.6

  • action/check_circle_24px Created with Sketch.

    Support for the most popular PostgreSQL extensions and over 100 database flags

  • action/check_circle_24px Created with Sketch.

    Integrated database observability for DevOps with Cloud SQL Insights

  • action/check_circle_24px Created with Sketch.

    Integration with key services like Google Kubernetes Engine (GKE), BigQuery, and Cloud Run

  • action/check_circle_24px Created with Sketch.

    Simplified and secure migrations with Database Migration Service

Key features

Key features of Cloud SQL for PostgreSQL

Maximum compatibility

Continue using familiar tools such as pgAdmin, pgwatch2, and Percona Monitoring and Management. Get full support for all major versions of PostgreSQL, the most sought after extensions, and access to over 100 flags to optimize deployments. Get started fast with easy, serverless migrations using Database Migration Service.

Database observability for DevOps

Quickly understand and resolve database performance issues on Cloud SQL for PostgreSQL using Cloud SQL Insights. Identify the root cause of issues using pre-built dashboards and visual query plans. Quickly access database metrics and traces in existing tools using OpenTelemetry. Monitor databases through the lens of your applications using query tags.

Maintenance on your terms

Fast, automated maintenance keeps your instances patched and stable. Receive notifications a week in advance so that you can plan around maintenance better and apply controls such as a week-long postponement or a deny period of up to 90 days.

Key integrations built-in

Access Cloud SQL from virtually any application. Easily connect from Google Compute Engine, Google Kubernetes Engine, Cloud Run, and your workstation. Deliver change streams from your Oracle and MySQL databases into Cloud SQL with Datastream. Visualize your data with Looker. Open analytics possibilities by using BigQuery to directly query your databases.

Fast, easy, secure migrations from anywhere

Use Database Migration Service to easily migrate PostgreSQL databases from on-premises, Compute Engine, and other clouds to Cloud SQL for PostgreSQL with minimal downtime.

View all features

Customers

Learn how Cloud SQL for PostgreSQL customers say yes to more

Auto Trader Logo

“We have migrated around 65% of our Oracle footprint to Cloud SQL for MySQL and PostgreSQL, and moving off of our Oracle footprint remains a strategic priority for us.”

Mohsin Patel, Principal Database Engineer, Auto Trader UK
Read the case study

What's new

See the latest updates about Cloud SQL for PostgreSQL

Sign up for Google Cloud newsletters to receive product updates, event information, special offers, and more.

Documentation

Find resources and documentation for Cloud SQL for PostgreSQL

Google Cloud Basics
Cloud SQL for PostgreSQL features

Learn about the major features and capabilities of Cloud SQL for PostgreSQL.

Google Cloud Basics
High availability configuration

An overview of the high availability (HA) configuration for Cloud SQL for PostgreSQL instances.

Google Cloud Basics
Migrating PostgreSQL to Cloud SQL for PostgreSQL

Best practices for using Database Migration Service for migrating PostgreSQL to Cloud SQL for PostgreSQL.

Quickstart
Cloud SQL for PostgreSQL Qwik Start Lab

Learn how to create and connect to a Cloud SQL for PostgreSQL instance and perform basic SQL operations using the Cloud Console and the psql client.

Tutorial
Getting Started with Cloud SQL for PostgreSQL

See how easy it is to get started with Cloud SQL for MySQL and PostgreSQL in this video.

Tutorial
Cloud SQL for PostgreSQL setup guide with Fivetran

Follow these instructions to replicate your Cloud SQL for PostgreSQL database to your destination using Fivetran.

Tutorial
Introduction to Cloud SQL Insights code lab

Learn how to set up a Cloud SQL for PostgreSQL instance, deploy a Node.js app to use the instance, and then leverage Cloud SQL Insights to view and monitor queries.

Pricing

Cloud SQL for PostgreSQL pricing details

Cloud SQL for PostgreSQL offers sizes to fit any budget. Pricing varies with settings, including how much CPU, memory, and storage you provision. Cloud SQL offers per-second billing and database instances are easy to stop and start.