Cloud SQL
Fully managed relational database service for MySQL, PostgreSQL, and SQL Server.
Fully managed relational database service for MySQL, PostgreSQL, and SQL Server.
What is Cloud SQL?
Google Cloud SQL is a fully managed database service that automates provisioning, patch management, automated backups, point-in-time recovery, and high-availability failover for MySQL, PostgreSQL, and Microsoft SQL Server. It integrates seamlessly with Cloud Run, GKE, and Compute Engine using the Cloud SQL Auth Proxy for secure, zero-cert connection pooling.
Decision Guide: When to Choose This Service
Use Cloud SQL for traditional relational database workloads (OLTP) requiring ACID transactions, complex SQL joins, foreign keys, stored procedures, and out-of-the-box compatibility with existing MySQL, Postgres, or SQL Server applications.
Do NOT use Cloud SQL for global multi-region write scalability (use Cloud Spanner) or massive analytical scanning queries over terabytes of data (use BigQuery).
Core Architectural Pillars
PostgreSQL (with pgvector for AI embeddings), MySQL, and SQL Server.
Multi-zone synchronous regional disk replication with automatic failover.
Local background client utility that establishes secure IAM-authenticated TLS tunnels without managing SSL certificates.
Offload read-heavy query traffic horizontally across up to 30 read replicas (including cross-region replicas for DR).
Continuous WAL archiving enables restoring to any exact second within the retention window (up to 35 days).