티스토리 수익 글 보기
Cloud SQL for MySQL
Highly performant, fully managed MySQL database service
Fully managed MySQL database for demanding enterprise workloads. Offers a 99.99% availability SLA and category-leading performance with Cloud SQL Enterprise Plus edition.
New customers get $300 in free credits to try Cloud SQL for MySQL and other Google Cloud products.
Looking for information on all versions of MySQL supported by Cloud SQL? Click here
Features
High performance
Achieve superior price-performance and transactional throughput with Cloud SQL for MySQL, now available on C4A instances (based on Google's Axion Processors). Building on this advanced infrastructure, Cloud SQL for MySQL uses built-in software optimizations and hardware stack featuring an optional data cache to boost performance, delivering up to 3x higher read throughput and up to 2x improvement in write latency compared to Enterprise edition. When compared to Amazon’s comparable MySQL service, Cloud SQL for MySQL delivers up to 3x higher performance.
Fully managed
Cloud SQL for MySQL manages your MySQL databases so you don't have to, enabling your business to run without disruption. Cloud SQL automates all your backups, replication, patches, encryption, and storage capacity increases to give your applications the reliability, scalability, and security they need.
Vector search
Vector search is a critical capability for building useful and accurate gen AI-powered apps. Cloud SQL for MySQL supports two search approaches for balancing speed and accuracy. Approximate nearest neighbor (ANN) vector search is ideal for large datasets where close matches suffice, while exact nearest neighbor (KNN) vector search is typically used for high precision on smaller datasets. Integrate vector search directly into your existing AI-powered apps without needing to learn and manage a separate system.
Secure and trusted
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. Cloud SQL also supports Private Service Connect, which allows you to access your database instances via private IP without going through the internet or using external IP addresses.
Gemini in databases
Simplify all aspects of the database journey with AI-powered assistance, helping you focus on what matters most. Gemini in Cloud SQL, in Preview, simplifies all aspects of database operations including migration, development, performance optimization, governance, and fleet management with a single pane of glass. It offers insights into database performance, security, reliability, and cost to help you quickly understand and resolve issues of all types.
MySQL compatible
Continue to leverage the MySQL ecosystem and administration tools, such as MySQL Workbench, mysqldump, phpMyAdmin, dbForge Studio, Toad Edge for MySQL, and the MySQL CLI, which is integrated in our Cloud SDK. Experience full support for all current versions of MySQL, and get access to nearly 200 flags to optimize your environment. Get started fast with easy, serverless migrations using Database Migration Service.
Highly available with 99.99% SLA
Easily configure built-in high availability with automatic failover across zones to protect your applications from a variety of possible failures. Automated backups and point-in-time recovery guard against user error. Use cross-region replicas and global VPCs to simplify protecting your data in the event of a disaster. Cloud SQL for MySQL offers up to 99.99% availability SLA for the most demanding workloads featuring maintenance and instance scale-up with typically sub-second downtime.
Fast, easy, and secure migrations
Database Migration Service makes it easy to migrate databases from on-premises, Compute Engine, and other clouds to Cloud SQL for MySQL with minimal downtime. DMS leverages the native replication capabilities of the source database to maximize the reliability of your migration. Lift and shift migrations to Cloud SQL are available at no additional charge.
Data protection with backups and point-in-time-recovery
Automate daily backups and binary logging to restore your instance to its state at an earlier point in time with a retention period of up to 35 days.
Compliance
Configure where your data is stored to comply with data residency requirements. Cloud SQL automatically encrypts data, is SSAE 16, ISO 27001, and PCI DSS compliant, and supports HIPAA compliance.
Easy integrations
Access Cloud SQL for MySQL instances from just about any application. Seamlessly connect from Compute Engine, Cloud Run, Google Kubernetes Engine, and your workstation. Provision your database via APIs and third-party tools, and use federated queries from BigQuery and low-latency database replication with Datastream for near real-time insights on operational data.
Scalability
Easily scale up as your data grows—add up to 128 processor cores, 864 GB of RAM, and 70 TB of storage. Add read replicas, cross-region read replicas, cascading read replicas, and external read replicas to handle increasing read traffic. Automatic storage increases eliminate the need to estimate future storage needs or spend money on capacity before you need it.
Maintenance
Fast, automated maintenance keeps your instances patched and stable. Cloud SQL for MySQL offers sub-second downtime for planned maintenance, and all availability SLAs (up to 99.99%) are inclusive of maintenance. Receive notifications up to 5 weeks 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.
LangChain integration
Easily build gen AI applications that are accurate, transparent, and reliable with LangChain integration. Cloud SQL has three LangChain integrations: Document loader for loading and storing information from documents, Vector stores for enabling semantic search, and Chat Messages Memory for enabling chains to recall previous conversations. Visit the GitHub repository to learn more.
Data cache
The data cache leverages flash memory on your MySQL database instances to lower read latency and improve throughput by intelligently caching data across memory and high speed local storage.
Cloud SQL for MySQL editions
| Features | Enterprise | Enterprise Plus |
|---|---|---|
Machine type | General purpose machine family | Performance optimized N family |
Machine configuration | Up to 96 vCPU Up to 624 GB RAM 1:6.5 core:memory ratio | Up to 128 vCPU Up to 864 GB RAM 1:8 core:memory ratio |
Versions supported | MySQL 5.6, 5.7, 8.0 | MySQL 8.0 |
Availability SLA | 99.95% | 99.99% |
Maintenance downtime | < 60 seconds | < 1 second |
Data cache | No | Yes |
PITR retention | Up to 7 days | Up to 35 days |
For more information click here.
Machine type
General purpose machine family
Performance optimized N family
Machine configuration
Up to 96 vCPU
Up to 624 GB RAM
1:6.5 core:memory ratio
Up to 128 vCPU
Up to 864 GB RAM
1:8 core:memory ratio
Versions supported
MySQL 5.6, 5.7, 8.0
MySQL 8.0
Availability SLA
99.95%
99.99%
Maintenance downtime
< 60 seconds
< 1 second
Data cache
No
Yes
PITR retention
Up to 7 days
Up to 35 days
For more information click here.
How It Works
Create a new database from the console or use Database Migration Service to migrate an existing database. Manage your database via the console, CLI, or REST API to scale up in minutes, to replicate data across zones and regions, and for maintenance, logging, monitoring, and configuration.
Create a new database from the console or use Database Migration Service to migrate an existing database. Manage your database via the console, CLI, or REST API to scale up in minutes, to replicate data across zones and regions, and for maintenance, logging, monitoring, and configuration.
Common Uses
ecommerce
Build ecommerce applications
Cloud SQL for MySQL is great at managing structured data like product catalogs, customer information, orders, and inventory levels. Cloud SQL's ability to handle high volumes of transactions and concurrent users ensures optimal shopping experience even during peak traffic times, while its strong security features protect sensitive customer data, making it a great choice for ecommerce applications.
Learning resources
Build ecommerce applications
Cloud SQL for MySQL is great at managing structured data like product catalogs, customer information, orders, and inventory levels. Cloud SQL's ability to handle high volumes of transactions and concurrent users ensures optimal shopping experience even during peak traffic times, while its strong security features protect sensitive customer data, making it a great choice for ecommerce applications.
Content management systems (CMS)
Build CMS websites
MySQL is the backbone of many CMS platforms like WordPress, Drupal, and Joomla. Its ability to efficiently store and retrieve articles, blog posts, images, user comments, and website settings make it ideal for this use case. MySQL's relational structure makes it easy to link articles to categories, tags, and authors, enabling complex content organization. Furthermore, Cloud SQL’s scalability ensures that websites remain responsive as the content grows.
Learning resources
Build CMS websites
MySQL is the backbone of many CMS platforms like WordPress, Drupal, and Joomla. Its ability to efficiently store and retrieve articles, blog posts, images, user comments, and website settings make it ideal for this use case. MySQL's relational structure makes it easy to link articles to categories, tags, and authors, enabling complex content organization. Furthermore, Cloud SQL’s scalability ensures that websites remain responsive as the content grows.
Games
Mobile game backends
MySQL is a well known relational database used when building online game backends. It can store game world state and essential persistence data. For small- to medium-sized, asynchronous, turn-based mobile games, a database such as Cloud SQL for MySQL can be an excellent choice as it is fully managed MySQL with solid performance, minimal operations, and automated backups.
Learning resources
Mobile game backends
MySQL is a well known relational database used when building online game backends. It can store game world state and essential persistence data. For small- to medium-sized, asynchronous, turn-based mobile games, a database such as Cloud SQL for MySQL can be an excellent choice as it is fully managed MySQL with solid performance, minimal operations, and automated backups.
Generative AI
Build generative AI applications
MySQL plays a crucial role in developing and deploying generative AI applications with its support of storage and similarity search for vector embeddings. Cloud SQL for MySQL provides K-nearest-neighbor (KNN) and approximate-nearest-neighbor (ANN) search between embeddings. Furthermore Cloud SQL’s integration with LangChain makes it a great choice for generative AI application development.
Learning resources
Build generative AI applications
MySQL plays a crucial role in developing and deploying generative AI applications with its support of storage and similarity search for vector embeddings. Cloud SQL for MySQL provides K-nearest-neighbor (KNN) and approximate-nearest-neighbor (ANN) search between embeddings. Furthermore Cloud SQL’s integration with LangChain makes it a great choice for generative AI application development.
Pricing
| How Cloud SQL pricing works | Pricing varies with editions, engine, and settings, including how much storage, memory, and CPU you provision. Cloud SQL offers per-second billing. | |
|---|---|---|
| Service | Description | Price |
Compute | Cloud SQL Enterprise Best for general purpose workloads. It offers: 1-96 vCPUs 1:6.5 core memory ratio 99.95% SLA < 60s of planned downtime | Starting at $0.0413 per vCPU/hour |
Cloud SQL Enterprise Plus Best for high performance workloads. It offers: Up to 128 vCPUs 1:8 core memory ratio 99.99% SLA | Starting at $0.05369 per vCPU/hour | |
Memory | Cloud SQL Enterprise up to 624 GB | Starting at $0.007 per GB/hour |
Cloud SQL Enterprise Plus up to 824 GB | Starting at $0.0091 per GB/hour | |
Storage - SSD | Storage and networking prices depend on the region where the instance is located; Cloud SQL Enterprise pricing and Cloud SQL Enterprise Plus pricing are the same | $0.17 per GB/month |
Storage - Local SSD | This is only available for Cloud SQL Enterprise Plus | $0.16 per GB/month |
PITR Logs on Google Cloud Storage | Cloud SQL Enterprise Up to 7 days | Free |
Cloud SQL Enterprise Plus Up to 35 days | Free | |
Get full details on pricing and learn about committed use discounts.
Watch video: Supercharging your applications with Cloud SQL Enterprise Plus (2:58)
How Cloud SQL pricing works
Pricing varies with editions, engine, and settings, including how much storage, memory, and CPU you provision. Cloud SQL offers per-second billing.
Compute
Cloud SQL Enterprise
Best for general purpose workloads. It offers:
1-96 vCPUs
1:6.5 core memory ratio
99.95% SLA
< 60s of planned downtime
Starting at
$0.0413
per vCPU/hour
Cloud SQL Enterprise Plus
Best for high performance workloads. It offers:
Up to 128 vCPUs
1:8 core memory ratio
99.99% SLA
Starting at
$0.05369
per vCPU/hour
Memory
Cloud SQL Enterprise
up to 624 GB
Starting at
$0.007
per GB/hour
Cloud SQL Enterprise Plus
up to 824 GB
Starting at
$0.0091
per GB/hour
Storage - SSD
Storage and networking prices depend on the region where the instance is located; Cloud SQL Enterprise pricing and Cloud SQL Enterprise Plus pricing are the same
$0.17
per GB/month
Storage - Local SSD
This is only available for Cloud SQL Enterprise Plus
$0.16
per GB/month
PITR Logs on Google Cloud Storage
Cloud SQL Enterprise
Up to 7 days
Free
Cloud SQL Enterprise Plus
Up to 35 days
Free
Get full details on pricing and learn about committed use discounts.
Watch video: Supercharging your applications with Cloud SQL Enterprise Plus (2:58)
Business Case
More than 95% of Google Cloud’s top 100 customers use Cloud SQL

"Cloud SQL for MySQL has been a game-changer, reducing operational burdens and boosting teams’ satisfaction."
Grzegorz Dlugolecki, Principal Cloud and Kubernetes Engineer, Chess.com
Deploying Cloud SQL for MySQL for their core services enabled Chess.com to reduce the size of their environment resulting in significant cost savings and reduced latency. Specifically, the p99 latency response saw a remarkable drop of 71.4 percent — going from 14ms to an impressive 4ms.
- Accelerate your digital transformation
- Whether your business is early in its journey or well on its way to digital transformation, Google Cloud can help solve your toughest challenges.
- Key benefits
- Featured Products
- AI and Machine Learning
- Business Intelligence
- Compute
- Containers
- Data Analytics
- Databases
- Developer Tools
- Distributed Cloud
- Hybrid and Multicloud
- Industry Specific
- Integration Services
- Management Tools
- Maps and Geospatial
- Media Services
- Migration
- Mixed Reality
- Networking
- Operations
- Productivity and Collaboration
- Security and Identity
- Serverless
- Storage
- Web3
- Featured Products
- Not seeing what you're looking for?
- See all products (100+)
- Not seeing what you're looking for?
- See all AI and machine learning products
- Business Intelligence
- Not seeing what you're looking for?
- See all compute products
- Not seeing what you're looking for?
- See all data analytics products
- Not seeing what you're looking for?
- See all developer tools
- Hybrid and Multicloud
- Industry Specific
- Not seeing what you're looking for?
- See all management tools
- Media Services
- Not seeing what you're looking for?
- See all networking products
- Productivity and Collaboration
- Not seeing what you're looking for?
- See all security and identity products
- Save money with our transparent approach to pricing
- Google Cloud's pay-as-you-go pricing offers automatic savings based on monthly usage and discounted rates for prepaid resources. Contact us today to get a quote.
- Pricing overview and tools
- Learn & build
- Connect
- Accelerate your digital transformation
- Learn more
- Key benefits
- Why Google Cloud
- AI and ML
- Multicloud
- Global infrastructure
- Data Cloud
- Modern Infrastructure Cloud
- Security
- Productivity and collaboration
- Reports and insights
- Executive insights
- Analyst reports
- Whitepapers
- Customer stories
- Industry Solutions
- Retail
- Consumer Packaged Goods
- Financial Services
- Healthcare and Life Sciences
- Media and Entertainment
- Telecommunications
- Games
- Manufacturing
- Supply Chain and Logistics
- Government
- Education
- See all industry solutions
- See all solutions
- Application Modernization
- CAMP
- Modernize Traditional Applications
- Migrate from PaaS: Cloud Foundry, Openshift
- Migrate from Mainframe
- Modernize Software Delivery
- DevOps Best Practices
- SRE Principles
- Platform Engineering
- Run Applications at the Edge
- Architect for Multicloud
- Go Serverless
- Artificial Intelligence
- Customer Engagement Suite with Google AI
- Document AI
- Vertex AI Search for commerce
- Google Cloud with Gemini
- Generative AI on Google Cloud
- APIs and Applications
- New Business Channels Using APIs
- Unlocking Legacy Applications Using APIs
- Open Banking APIx
- Data Analytics
- Data Migration
- Data Lakehouse
- Real-time Analytics
- Marketing Analytics
- Datasets
- Business Intelligence
- AI for Data Analytics
- Geospatial Analytics
- Databases
- Database Migration
- Database Modernization
- Databases for Games
- Google Cloud Databases
- Migrate Oracle workloads to Google Cloud
- Open Source Databases
- SQL Server on Google Cloud
- Gemini for Databases
- Infrastructure Modernization
- Application Migration
- SAP on Google Cloud
- High Performance Computing
- Windows on Google Cloud
- Data Center Migration
- Active Assist
- Virtual Desktops
- Rapid Migration and Modernization Program
- Backup and Disaster Recovery
- Red Hat on Google Cloud
- Cross-Cloud Network
- Observability
- Productivity and Collaboration
- Google Workspace
- Google Workspace Essentials
- Cloud Identity
- Chrome Enterprise
- Security
- Agentic SOC
- Web App and API Protection
- Security and Resilience Framework
- Risk and compliance as code (RCaC)
- Software Supply Chain Security
- Security Foundation
- Google Cloud Cybershield™
- Startups and SMB
- Startup Program
- Small and Medium Business
- Software as a Service
- Featured Products
- Compute Engine
- Cloud Storage
- BigQuery
- Cloud Run
- Google Kubernetes Engine
- Vertex AI
- Looker
- Apigee API Management
- Cloud SQL
- Gemini Enterprise
- Cloud CDN
- See all products (100+)
- AI and Machine Learning
- Vertex AI Platform
- Vertex AI Studio
- Vertex AI Agent Builder
- Conversational Agents
- Vertex AI Search
- Speech-to-Text
- Text-to-Speech
- Translation AI
- Gemini Enterprise
- Vision AI
- Contact Center as a Service
- See all AI and machine learning products
- Business Intelligence
- Looker
- Looker Studio
- Compute
- Compute Engine
- App Engine
- Cloud GPUs
- Migrate to Virtual Machines
- Spot VMs
- Batch
- Sole-Tenant Nodes
- Bare Metal
- Recommender
- VMware Engine
- Cloud Run
- See all compute products
- Containers
- Google Kubernetes Engine
- Cloud Run
- Cloud Build
- Artifact Registry
- Cloud Code
- Cloud Deploy
- Migrate to Containers
- Deep Learning Containers
- Knative
- Data Analytics
- BigQuery
- Looker
- Dataflow
- Pub/Sub
- Dataproc
- Google Cloud Serverless for Apache Spark
- Cloud Composer
- BigLake
- Dataplex Universal Catalog
- BigQuery Migration Services
- Managed Service for Apache Kafka
- See all data analytics products
- Databases
- AlloyDB for PostgreSQL
- Cloud SQL
- Firestore
- Spanner
- Bigtable
- Datastream
- Database Migration Service
- Bare Metal Solution
- Memorystore
- Developer Tools
- Artifact Registry
- Cloud Code
- Cloud Build
- Cloud Deploy
- Cloud Deployment Manager
- Cloud SDK
- Cloud Scheduler
- Cloud Source Repositories
- Infrastructure Manager
- Cloud Workstations
- Gemini Code Assist
- See all developer tools
- Distributed Cloud
- Google Distributed Cloud Connected
- Google Distributed Cloud Air-gapped
- Hybrid and Multicloud
- Google Kubernetes Engine
- Apigee API Management
- Migrate to Containers
- Cloud Build
- Observability
- Cloud Service Mesh
- Google Distributed Cloud
- Industry Specific
- Anti Money Laundering AI
- Cloud Healthcare API
- Device Connect for Fitbit
- Telecom Network Automation
- Telecom Data Fabric
- Telecom Subscriber Insights
- Spectrum Access System (SAS)
- Integration Services
- Application Integration
- Workflows
- Apigee API Management
- Cloud Tasks
- Cloud Scheduler
- Dataproc
- Cloud Data Fusion
- Cloud Composer
- Pub/Sub
- Eventarc
- Management Tools
- Cloud Shell
- Cloud console
- Cloud Endpoints
- Cloud IAM
- Cloud APIs
- Service Catalog
- Cost Management
- Observability
- Carbon Footprint
- Config Connector
- Active Assist
- See all management tools
- Maps and Geospatial
- Earth Engine
- Google Maps Platform
- Media Services
- Cloud CDN
- Live Stream API
- OpenCue
- Transcoder API
- Video Stitcher API
- Migration
- Migration Center
- Application Migration
- Migrate to Virtual Machines
- Cloud Foundation Toolkit
- Database Migration Service
- Migrate to Containers
- BigQuery Migration Services
- Rapid Migration and Modernization Program
- Transfer Appliance
- Storage Transfer Service
- VMware Engine
- Mixed Reality
- Immersive Stream for XR
- Networking
- Cloud Armor
- Cloud CDN and Media CDN
- Cloud DNS
- Cloud Load Balancing
- Cloud NAT
- Cloud Connectivity
- Network Connectivity Center
- Network Intelligence Center
- Network Service Tiers
- Virtual Private Cloud
- Private Service Connect
- See all networking products
- Operations
- Cloud Logging
- Cloud Monitoring
- Error Reporting
- Managed Service for Prometheus
- Cloud Trace
- Cloud Profiler
- Cloud Quotas
- Productivity and Collaboration
- AppSheet
- Gemini Enterprise
- Google Workspace
- Google Workspace Essentials
- Cloud Identity
- Chrome Enterprise
- Security and Identity
- Cloud IAM
- Sensitive Data Protection
- Mandiant Managed Defense
- Google Threat Intelligence
- Security Command Center
- Cloud Key Management
- Mandiant Incident Response
- Chrome Enterprise Premium
- Assured Workloads
- Google Security Operations
- Mandiant Consulting
- See all security and identity products
- Serverless
- Cloud Run
- Cloud Functions
- App Engine
- Workflows
- API Gateway
- Storage
- Cloud Storage
- Block Storage
- Filestore
- Persistent Disk
- Cloud Storage for Firebase
- Local SSD
- Storage Transfer Service
- Google Cloud Managed Lustre
- Google Cloud NetApp Volumes
- Backup and DR Service
- Web3
- Blockchain Node Engine
- Blockchain RPC
- Save money with our transparent approach to pricing
- Request a quote
- Pricing overview and tools
- Google Cloud pricing
- Pricing calculator
- Google Cloud free tier
- Cost optimization framework
- Cost management tools
- Product-specific Pricing
- Compute Engine
- Cloud SQL
- Google Kubernetes Engine
- Cloud Storage
- BigQuery
- See full price list with 100+ products
- Learn & build
- Google Cloud Free Program
- Solution Generator
- Quickstarts
- Blog
- Learning Hub
- Google Cloud certification
- Cloud computing basics
- Cloud Architecture Center
- Connect
- Innovators
- Developer Center
- Events and webinars
- Google Cloud Community
- Consulting and Partners
- Google Cloud Consulting
- Google Cloud Marketplace
- Find a partner
- Google Cloud partners

















