Choose a storage option

MySQL  |  PostgreSQL  |  SQL Server

The storage options available for your Cloud SQL instance depend on themachine series you choose. Todetermine which storage option is available for your instance's machine series,seeMachine series overview.

Cloud SQL supports the following storage types:

Google Cloud Hyperdisk Balanced

Cloud SQL uses the Hyperdisk Balanced storage option foritsN4 machine series andC4A machine series. This storage type is an Google Cloud Hyperdisk offering.Hyperdisk is the latest generation of network block storage. Itoffers scalable, high-performance storage with comprehensive data persistenceand management capabilities. You can also enableautomatic storage increasewith this storage option to have Cloud SQLautomatically increase the storage for your instancewhen it falls below the threshold size.

HyperdiskBalanced provides customizable throughput and IOPS. For more information, seeAbout HyperdiskBalanced.

Hyperdisk Balanced sets default IOPS and throughput values andlimits based on your instance's configuration, which include the machine typeand storage capacity. Storage capacity limits the default value, and the machinetype sets the maximum value for both IOPS and throughput. You can modify thesevalues for your instance.

C4A machine series IOPS and throughput limits

The following table shows the minimum and maximum limits for IOPS andthroughput (in MiB/s) for each machine type in theC4A machine series based onits vCPUs:

vCPUsMinimum IOPSMinimum throughputHyperdisk BalancedHyperdisk Balanced HA
Maximum IOPsMaximum throughputMaximum IOPsMaximum throughput
23,00014050,00080050,000800
43,00014050,00080050,000800
83,00014050,0001,00050,0001,000
163,00014080,0001,60080,0001,200
323,000140120,0002,400100,0001,200
483,000140160,0002,400100,0001,200
643,000140160,0002,400100,0001,200
723,000140160,0002,400100,0001,200

The following table shows the default Google Cloud Hyperdisk Balanced IOPS andthroughput values based on the selected disk size:

Disk sizeDefault IOPSDefault throughput (MiB/s)
20 - 256 GB4,000170
> 256 - 512 GB7,000240
> 512 GB - 1 TB10,000500
> 1 TB - 4 TB16,000750
> 4 TB - 32 TBMinimum of 70,000 or maximum IOPS for machine typeMinimum of 1,200 or maximum throughput for machine type
> 32 TB - 64 TBMinimum of 100,000 or maximum IOPS for machine typeMinimum of 1,200 or maximum throughput for machine type

You can also setcustom IOPS and throughput whenusing Hyperdisk Balanced.

N4 machine series IOPS and throughput limits

The following table shows the minimum and maximum limits for IOPS and throughputfor each machine type in theN4 machine series based onits vCPUs:

Note: Read and write IOPs and throughput values are combined forHyperdisk Balanced.
vCPUsMinimum IOPSMinimum throughput (MiB/s)Hyperdisk BalancedHyperdisk Balanced HA
Maximum IOPsMaximum throughputMaximum IOPsMaximum throughput
0-73,00014015,00024015,000240
8-153,00014015,00048015,000480
16-313,00014080,0001,20080,0001,200
32-473,000140100,0001,600100,0001,200
48+3,000140160,0002,400100,0001,200

The following table shows the default Google Cloud Hyperdisk Balanced IOPS andthroughput values based on the selected disk size:

Disk sizeDefault IOPSDefault throughput
20 - 256 GB4,000170
> 256 - 512 GB7,000240
> 512 GB - 1 TB10,000Minimum of 500 or maximum throughput of machine type
> 1 TB - 4 TBMinimum of 16,000 or maximum IOPS for machine typeMinimum of 750 or maximum throughput of machine type
> 4 TB - 32 TBMinimum of 70,000 or maximum IOPS for machine typeMinimum of 1,200 or maximum throughput for machine type
> 32 TB - 64 TBMinimum of 100,000 or maximum IOPS for machine typeMinimum of 1,200 or maximum throughput for machine type

You can also setcustom IOPS and throughput whenusing Hyperdisk Balanced.

Hyperdisk Balanced custom IOPS and throughput

You can set custom IOPS and throughput levels for your Google Cloud HyperdiskBalanced and Google Cloud Hyperdisk Balanced High Availability volumes. The modifiedvalues must meet the following requirements:

  • IOPS

    • Minimum: 3,000 IOPS
    • Maximum: 500 IOPS per GB disk capacity, for a maximum of 160,000 forGoogle Cloud Hyperdisk Balanced and a maximum of 100,000 forGoogle Cloud Hyperdisk Balanced High Availability.
  • Throughput

    • Minimum: 140 MiB/s
    • Maximum: For Google Cloud Hyperdisk Balanced, the greater of 2,400 MiB/sor the provisioned IOPS divided by 4. For Google Cloud Hyperdisk BalancedHigh Availability, the greater of 1,200 MiB/s, or the provisioned IOPSdivided by 4.

Hyperdisk Balanced limitations

Consider the following limitations when using HyperdiskBalanced with your Cloud SQL instances:

  • Hyperdisk Balanced only allows changes to capacity and disksize, twice every four hours. Data workloads needing more frequentincreases might result in extended periods of full storage and might impactperformance.
  • Hyperdisk Balanced only allows changes to IOPS and throughputonce every four hours. Data workloads needing more frequentincreases might result in extended periods of full storage and might impactperformance.

Solid-state drive (SSD)

The solid-state drive (SSD) option is available for the general purpose sharedcore, general purpose dedicated core, and N2 machine series.

The SSD storage option provides an efficient, cost-effective option for yourCloud SQL Cloud SQL Enterprise edition instances. Compared to ahard diskdrive, SSD is faster and provides more predictable performance. SSDoffers high write and read throughput, and maintains low latency for dataaccess. This makes it an excellent option for storing active data that requiresfrequent, low-latency access.

SSD is a Persistent Disk volumes offering that provides durable network storagedevices. It is suitable for enterprise applications and high-performancedatabases that require lower latency and more IOPS. For more information, seeAbout Persistent Disk.

Cloud SQL sets IOPS and throughput for SSD storage based on the machinetype and storage capacity you configure. You can't configure the values for IOPSand throughput.

N2 machine series IOPS and throughput limits

The following table shows the maximum values for IOPS and throughput (in MiB/s)for the SSD storage option based on the number of vCPUs for Cloud SQL Enterprise Plus editioninstances using theN2 machine series :

vCPUsZonalRegional
Maximum IOPs (read/write)Maximum throughput (read/write)Maximum IOPs (read/write)Maximum throughput (read/write)
215,000 / 15,000240 / 24015,000 / 15,000240 / 120
415,000 / 15,000240 / 24015,000 / 15,000240 / 120
815,000 / 15,000800 / 80015,000 / 15,000800 / 400
1625,000 / 25,0001,200 / 1,20025,000 / 25,0001,200 / 600
3260,000 / 60,0001,200 / 1,20060,000 / 60,0001,200 / 600
4860,000 / 60,0001,200 / 1,20060,000 / 60,0001,200 / 600
64100,000 / 100,0001,200 / 1,200100,000 / 80,0001,200 / 1,000
80100,000 / 100,0001,200 / 1,200100,000 / 80,0001,200 / 1,000
96100,000 / 100,0001,200 / 1,200100,000 / 80,0001,200 / 1,000
128100,000 / 100,0001,200 / 1,200100,000 / 80,0001,200 / 1,000
Note: To increase the IOPS and throughput values for the N2 machine series,increase the storage capacity of your instance.

General purpose machine series IOPS and throughput limits

The following table shows the maximum values for IOPS and throughput for the SSDstorage option based on the number of vCPUs for the general purpose shared ordedicated core machine series, and custom machine types:

vCPUsZonalRegional
Maximum IOPs (read/write)Maximum throughput (read/write)Maximum IOPs (read/write)Maximum throughput (read/write)
115,000 / 15,000200 / 20015,000 / 15,000200 / 100
2-715,000 / 15,000240 / 24015,000 / 15,000240 / 120
8-1515,000 / 15,000800 / 80015,000 / 15,000800 / 400
16-3125,000 / 25,0001,200 / 1,20025,000 / 25,0001,200 / 600
32-6360,000 / 60,0001,200 / 1,20060,000 / 60,0001,200 / 600
64+100,000 / 100,0001,200 / 1,200100,000 / 80,0001,200 / 1,000

Hard disk drive (HDD)

The hard disk drive (HDD) storage option is available for general purpose sharedor dedicated core machine series only, and might be appropriate in certain usecases. For example, consider HDD for instances with large datasets (>10 TB) thatare not latency-sensitive, are accessed infrequently, or where storage cost is aprimary concern. HDD might also be suitable for the following workloadcategories:

  • Batch workloads with scans and writes, and only occasional random reads of afew rows.
  • Data archival, where you write large amounts of data and rarely read it.

For example, if you plan to store extensive historical data for a large numberof remote-sensing devices and use the data to generate daily reports, then the costsavings for HDD storage might justify the performance trade-off. However, if youplan to use the data to display a real-time dashboard, HDD might not be theoptimal choice because reads are much more frequent and slower with HDD storage.

General purpose machine series IOPS and throughput limits

The following table shows the maximum values for IOPS and throughput for the HDDstorage option based on the number of vCPUs for Cloud SQLinstances:

vCPUsZonalRegional
Maximum IOPs (read/write)Maximum throughput (read/write)Maximum IOPs (read/write)Maximum throughput (read/write)
11,000 / 10,000200 / 2001,000 / 10,000200 / 100
2-73,000 / 15,000240 / 2403,000 / 15,000240 / 120
8-155,000 / 15,000800 / 4005,000 / 15,000800 / 200
16+7,500 / 15,0001,200 / 4007,500 / 15,0001,200 / 200

What's next

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-11-24 UTC.