Cloud SQL for PostgreSQL
PostgreSQL is the leading open source relational database with an active and growing ecosystem of developers and tools. With Cloud SQL for PostgreSQL, you can spend less time on your database operations and more time on your applications.
New customers get $300 in free credits to try Cloud SQL.
-
Full compatibility for your applications on all major PostgreSQL versions
-
Support for the most popular PostgreSQL extensions and over 100 database flags
-
Integrated database observability for DevOps with Cloud SQL Insights
-
Integration with key services like Google Kubernetes Engine (GKE), BigQuery, and Cloud Run
-
Simplified and secure migrations with Database Migration Service
Key features
Key features of Cloud SQL for PostgreSQL
Maximum compatibility
Continue to use 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 from PostgreSQL or Oracle databases 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. Cloud SQL offers near-zero downtime of less than 10 seconds for planned maintenance, and all availability SLAs (up to 99.99%) are inclusive of maintenance. 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.
High performance and security
Cloud SQL for PostgreSQL uses built-in software optimizations to improve write throughput. Your data is secured with automatic encryption at rest and in transit, with integrated support for customer-managed encryption keys, Cloud IAM database authentication, Virtual Private Cloud (VPC), and user-controlled network access with firewall protection to control public network access.
Key integrations built in
You can access Cloud SQL from virtually any application. Easily connect from Google Compute Engine, Google Kubernetes Engine, Cloud Run, or 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. And build AI-powered experiences using the pgvector extension, LangChain, and LLMs.
"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 studyWhat'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
Cloud SQL for PostgreSQL features
Learn about the major features and capabilities of Cloud SQL for PostgreSQL.
High availability configuration
An overview of the high availability (HA) configuration for Cloud SQL for PostgreSQL instances.
Migrating PostgreSQL to Cloud SQL for PostgreSQL
Best practices for using Database Migration Service for migrating PostgreSQL to Cloud SQL for PostgreSQL.
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.
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.
Cloud SQL for PostgreSQL setup guide with Fivetran
Follow these instructions to replicate your Cloud SQL for PostgreSQL database to your destination using Fivetran.
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.
Migrate to Cloud SQL with Database Migration Service
Google Cloud’s Database Migration Service helps make database migrations to Cloud SQL simple and secure.
Pricing
Cloud SQL for PostgreSQL pricing details
Cloud SQL for PostgreSQL offers cost-effective options to
fit every budget. Choose Cloud SQL Enterprise for general
purpose workloads or Cloud SQL Enterprise Plus for high
performance, business-critical workloads. 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.