[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-04 (世界標準時間)。"],[],[],null,["\u003cbr /\u003e\n\n[MySQL](/sql/docs/mysql/machine-series-overview \"View this page for the MySQL database engine\") \\| [PostgreSQL](/sql/docs/postgres/machine-series-overview \"View this page for the PostgreSQL database engine\") \\| SQL Server\n\n\u003cbr /\u003e\n\nThis page describes the machine series and machine types\nthat you can choose from when you create a\nCloud SQL for SQL Server instance.\n\nCloud SQL offers a range of machine series and machine types that let\nyou tailor vCPU and memory for your instances, and optimize performance for\ndifferent demands.\n\nWhen you create a Cloud SQL instance, you select a specific machine type\nthat determines the resources available for your instance. Each machine type\nbelongs to a machine series, which is a curated set of\nprocessor and hardware configurations optimized for specific Cloud SQL\nworkloads.\n\nFor example, the `db-perf-optimized-N-2` machine type is part of\nthe `N2` machine series.\n\nMachine series availability for Cloud SQL Enterprise Plus edition instances\n\nFor Cloud SQL Enterprise Plus edition instances, you can choose one of the following machine\nseries:\n\n- [**N2**](#n2): this machine series provides a balanced price-to-performance ratio for a variety of Cloud SQL workloads.\n- [**Memory-optimized-N2**](#memory-optimized-N2): this machine series provides high memory-to-compute ratios for memory-intensive Cloud SQL workloads.\n\nFor Cloud SQL Enterprise Plus edition instances, each machine series\noffers predefined machine types with preset memory and\nvCPUs for your instances. Availability is dependent on your instance's\nCloud SQL edition, region, and database version.\n\nN2 machine series\n\nN2 machine series provides a balanced price-performance\nfor a wide variety of database workloads, with a memory-to-compute ratio of 1 vCPU:8GB RAM. N2 machine series uses the\nPerformance Persistent Disk (PD-SSD) storage option. For more information about\nstorage types, see\n[Cloud SQL storage options overview](/sql/docs/sqlserver/storage-options-overview).\n\nN2 machine types\n\nThis following machine types are available for instances for the\nN2 machine series:\n\n| Machine type | vCPUs | Memory (GB) | Optional Data Cache (GB) |\n|---------------------------|-------|-------------|--------------------------|\n| `db-perf-optimized-N-2` | 2 | 16 | 375 |\n| `db-perf-optimized-N-4` | 4 | 32 | 375 |\n| `db-perf-optimized-N-8` | 8 | 64 | 375 |\n| `db-perf-optimized-N-16` | 16 | 128 | 750 |\n| `db-perf-optimized-N-32` | 32 | 256 | 1,500 |\n| `db-perf-optimized-N-48` | 48 | 384 | 3,000 |\n| `db-perf-optimized-N-64` | 64 | 512 | 6,000 |\n| `db-perf-optimized-N-80` | 80 | 640 | 6,000 |\n| `db-perf-optimized-N-96` | 96 | 728 | 6,000 |\n| `db-perf-optimized-N-128` | 128 | 864 | 6,000 |\n\nMemory-optimized-N2\n\nThe `memory-optimized-N2` machine series provides high\nmemory-to-compute ratios for memory-intensive workloads.\n\nThe `memory-optimized-N2` machine series uses the\nPerformance Persistent Disk (PD-SSD) storage option. PD-SSD is a Persistent Disk\nvolumes offering that provides Cloud SQL instances with\nlower latency and more IOPS, and is backed by solid-state drives (SSD). For more\ninformation, see [About Persistent Disk](/compute/docs/disks/persistent-disks).\n\nMemory-optimized-N2 machine types\n\nThis following machine types are available for instances\nfor the `memory-optimized-N` machine series:\n\n| Machine type | vCPUs | Memory (GB) | Optional Data Cache (GB) |\n|----------------------------|-------|-------------|--------------------------|\n| `db-memory-optimized-N-4` | 4 | 128 | 750 |\n| `db-memory-optimized-N-8` | 8 | 256 | 1,500 |\n| `db-memory-optimized-N-16` | 16 | 512 | 3,000 |\n\nMachine series availability for Cloud SQL Enterprise edition instances\n\nFor Cloud SQL Enterprise edition instances, Cloud SQL\noffers shared core or dedicated core machine series. Shared core offers\nmachine types with predefined CPUs (cores) and amount of memory for your\ninstances.\n\nDedicated cores are custom instance configurations that let you select the\namount of memory and CPUs that your instance needs. This flexibility lets you\nchoose the appropriate VM shape for your workload.\n\nCustom machine type names use the following format: `db-custom-{CPUs}-{Memory}`.\nWhen you select the number of CPUs and amount of memory, there are some\nrestrictions on the configurations that you can choose:\n\n- vCPUs must be either 1 or an even number between 2 and 96.\n- Memory must be:\n - 0.9 to 6.5 GB per vCPU\n - A multiple of 256 MB\n - At least 3.75 GB (3840 MB)\n\nPricing\n\nThe machine series you select affects the cost of your instance. For more\ninformation, see [Instance pricing](/sql/pricing#2nd-gen-instance-pricing).\nYou can also use the [pricing calculator](https://cloud.google.com/products/calculator)\nto see pricing for various scenarios."]]