Machine series overview Stay organized with collections Save and categorize content based on your preferences.
Preview — C4A machine series
This feature is subject to the "Pre-GA Offerings Terms" in the General Service Terms section of theService Specific Terms. You can process personal data for this feature as outlined in theCloud Data Processing Addendum, subject to the obligations and restrictions described in the agreement under which you access Google Cloud. Pre-GA features are available "as is" and might have limited support. For more information, see thelaunch stage descriptions.
This page describes the machine series and machine typesthat you can choose from when you create aCloud SQL for PostgreSQL instance.
Cloud SQL offers a range of machine series and machine types that letyou tailor vCPU and memory for your instances, and optimize performance fordifferent demands.
When you create a Cloud SQL instance, you select a specific machine typethat determines the resources available for your instance. Each machine typebelongs to a machine series, which is a curated set ofprocessor and hardware configurations optimized for specific Cloud SQLworkloads.
For example, thedb-perf-optimized-N-2
machine type is part oftheN2
machine series.
Machine series availability for Cloud SQL Enterprise Plus edition instances
For Cloud SQL Enterprise Plus edition instances, you can choose one of the following machineseries:
- N2: this machine series provides a balancedprice-to-performance ratio for a variety of Cloud SQL workloads.
- C4A (Preview): this machine series provides optimized price-performanceand delivers predictable high performance for high demand Cloud SQLworkloads.
For Cloud SQL Enterprise Plus edition instances, each machine seriesoffers predefined machine types with preset memory andvCPUs for your instances. Availability is dependent on your instance'sCloud SQL edition, region, and database version.
N2 machine series
N2 machine series provides a balanced price-performancefor a wide variety of database workloads, with a memory-to-compute ratio of 1 vCPU:8GB RAM. N2 machine series uses thePerformance Persistent Disk (PD-SSD) storage option. For more information aboutstorage types, seeCloud SQL storage options overview.
N2 machine types
This following machine types are available for instances for theN2 machine series:
Machine type | vCPUs | Memory (GB) | Optional Data Cache (GB) |
---|---|---|---|
db-perf-optimized-N-2 | 2 | 16 | 375 |
db-perf-optimized-N-4 | 4 | 32 | 375 |
db-perf-optimized-N-8 | 8 | 64 | 375 |
db-perf-optimized-N-16 | 16 | 128 | 750 |
db-perf-optimized-N-32 | 32 | 256 | 1,500 |
db-perf-optimized-N-48 | 48 | 384 | 3,000 |
db-perf-optimized-N-64 | 64 | 512 | 6,000 |
db-perf-optimized-N-80 | 80 | 640 | 6,000 |
db-perf-optimized-N-96 | 96 | 728 | 6,000 |
db-perf-optimized-N-128 | 128 | 864 | 6,000 |
C4A machine series
The C4A machine series provides high performance for avariety of performance sensitive database workloads.
C4A uses the Hyperdisk Balanced storage option, whichis a Google Cloud Hyperdisk offering. Google Cloud Hyperdisk is the newest generationof network block storage service in Google Cloud. For more information aboutstorage types, seeCloud SQL storage options overview.
C4A machine series offers predefined machine types thatare dependent on your instance's region and configuration.Your Cloud SQL for PostgreSQL Enterprise Plus editioninstance must be PostgreSQL version 13 and later to select aC4A machine series.
For more information on which regions are supported, seeCloud SQL Enterprise Plus edition region support.
C4A machine types
The following table shows predefined machine types that are available for theC4A machine series with optional Data Cache:
Machine type | vCPUs | Memory (GB) | Optional Data Cache (GB) |
---|---|---|---|
db-c4a-highmem-2 | 2 | 16 | Not available |
db-c4a-highmem-4 | 4 | 32 | 375 |
db-c4a-highmem-8 | 8 | 64 | 750 |
db-c4a-highmem-16 | 16 | 128 | 1,500 |
db-c4a-highmem-32 | 32 | 256 | 2,250 |
db-c4a-highmem-48 | 48 | 384 | 3,750 |
db-c4a-highmem-64 | 64 | 512 | 5,250 |
db-c4a-highmem-72 | 72 | 576 | 6,000 |
C4A machine series limitations
Consider the following limitations when choosing the C4A machine series foryour Cloud SQL Enterprise Plus edition instance:
- Upgrading and downgrading your instance's Cloud SQL edition isn'tsupported.
- You can't change your instance's machine series after instance creation.
- You can't restore an instance to an instance with a different machine series.The machine series for the restored instance must match the new instance.
- Your instance's replicas must be the same machine series as the instance.
- Cloud SQL for PostgreSQL version 12 isn't supported with the C4A machineseries.
Machine series availability for Cloud SQL Enterprise edition instances
For Cloud SQL Enterprise edition instances, Cloud SQLoffers shared core or dedicated core machine series. Shared core offersmachine types with predefined CPUs (cores) and amount of memory for yourinstances.
Dedicated cores are custom instance configurations that let you select theamount of memory and CPUs that your instance needs. This flexibility lets youchoose the appropriate VM shape for your workload.
Custom machine type names use the following format:db-custom-{CPUs}-{Memory}
.When you select the number of CPUs and amount of memory, there are somerestrictions on the configurations that you can choose:
- vCPUs must be either 1 or an even number between 2 and 96.
- Memory must be:
- 0.9 to 6.5 GB per vCPU
- A multiple of 256 MB
- At least 3.75 GB (3840 MB)
Pricing
The machine series you select affects the cost of your instance. For moreinformation, seeInstance pricing.You can also use thepricing calculatorto see pricing for various scenarios.
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-07-14 UTC.