Microsoft SQL Server 授權規定,您必須為執行個體上的每顆虛擬 CPU 指派核心授權 (每個執行個體至少四核心)。為符合相關規定,即使執行個體的 vCPU 少於 4 顆,系統仍會收取 4 倍的 SQL Server 費率。對於具有 4 顆以上 vCPU 的執行個體,系統會按 vCPU 數量收取同等單位的 SQL Server 授權費用。
停用多執行緒並行 (SMT) 功能後,各核心的虛擬 CPU (vCPU) 數量會從 2 個減為 1 個。這樣一來,SQL Server 授權費用就會降低,停用 SMT 不會影響 SQL Server 的 Compute Engine 價格。
您只需按照 SQL Server 的 CPU 設定中定義的 vCPU 數量付費。以下範例說明停用 SMT 對帳單的影響:
使用者
SMT:已啟用或已停用
執行個體的 vCPU 數量
SQL Server 授權費的 vCPU 數量計算基礎
計算運算費用的 vCPU 數量
User1
已啟用
8
8
8
User2
已停用
8
4
8
User3
已停用
6
4
6
請注意,雖然已停用 SMT,但 SQL Server 授權規定,您必須為執行個體中的每顆虛擬 CPU 指派核心授權,且每個執行個體至少須具備四個核心,因此系統會以 4 個 vCPU 計算 User3 的 SQL Server 授權費。
使用 SQL Server 執行個體授權,至少會產生 1 分鐘的基本費用,1 分鐘後,SQL Server 執行個體授權費用則以1 秒為單位累計。
Cloud DNS 定價
Cloud DNS 是以每月每個可用區為單位計費 (無論您是否使用自己的可用區)。另外,您也必須依據所在可用區收到的查詢量付費。如需更多資訊,請參閱 Cloud DNS 定價。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],[],[],[],null,["# Pricing\n\nCloud SQL pricing\n=================\n\n| You can create an account to evaluate how Cloud SQL performs in real-world scenarios. New\n| customers also get $300 in free credits to spend on Cloud SQL to run, test, and deploy\n| workloads. You won't be charged until you upgrade.\n|\n| Sign up to [try Cloud SQL for free](https://console.cloud.google.com/freetrial?redirectPath=/sql).\n\n\nThis page contains information about pricing for Cloud SQL.\n\nCloud SQL offers [two editions](/sql/docs/sqlserver/editions-intro),\nEnterprise and Enterprise Plus.\nThese editions provide different levels of availability, performance and data protection.\nThe pricing for the vCPUs and memory for each edition varies.\nCloud SQL Enterprise edition and Cloud SQL Enterprise Plus edition are supported by Cloud SQL for MySQL, Cloud SQL for PostgreSQL,\nand Cloud SQL for SQL Server.\nTo get a cost estimate for Cloud SQL, try the [Pricing Calculator](/products/calculator).\n\nExtended support pricing\n------------------------\n\n| **Note:** From February 1, 2025 through April 30, 2025, Google has waived charges for extended support. Starting on May 1, 2025, all instances running on major versions that have reached end of life (EOL) will be charged for extended support.\n\n\nExtended support pricing applies to Cloud SQL instances that are running major versions in\nextended support. Refer to the [Database version policies\ndocumentation](/sql/docs/db-versions) for the extended support timelines of Cloud SQL major versions.\n\n\nFor dedicated-core instances, extended support is priced per vCPU per hour and charged for every\nsecond that the instance is running. For shared-core instances, extended support is priced per\ninstance per hour and charged for every second that the instance is running. Extended support\nis charged in addition to regular instance pricing. For more details, see [Billing on partial\nseconds](/sql/pricing#billing-partial-seconds). Pricing depends on the region where your instance is located. Select your region in the dropdown on the pricing table.\n\nRead replicas are charged at the same rate as stand-alone instances.\n\n\nHA prices are applied for instances configured for high availability, also called regional\ninstances. [Learn more about high availability](/sql/docs/mysql/high-availability).\n| **Note:** Committed use discounts don't apply to extended support prices.\n\nIn the following table, select your region from the dropdown menu to see the price for that region.\nTo see how you can calculate your potential costs, please refer to this [pricing example](/sql/docs/sqlserver/pricing-examples).\n\n\nCloud SQL for SQL Server is composed of the following charges:\n\n- [CPU and memory pricing](#sql-cpu-mem-pricing)\n- [Storage and networking pricing](#sql-storage-networking-prices)\n- [Licensing](#sql-licensing)\n- [Cloud DNS pricing](#sql-dns-pricing)\n\nCPU and memory pricing\n----------------------\n\n\nFor dedicated-core instances, you choose the number of CPUs and the amount of memory you want,\nup to 96 CPUs and 624 GB of memory. For Cloud SQL Enterprise Plus edition instances,\nyou can choose from Performance-optimized machines (up to 128 CPUs and 864 GB of memory) and\nMemory-optimized machines (up to 16 CPUs and 512 GB of memory).\nPricing for CPUs and memory depends on the region where your instance is located. Select your\nregion in the dropdown on the pricing table.\n\nRead replicas and failover replicas are charged at the same rate as stand-alone instances.\n\n*HA* prices are applied for instances configured for high availability, also called regional\ninstances. [Learn more about high availability](/sql/docs/sqlserver/high-availability).\n\n\nCloud SQL also offers committed use discounts (CUDs) that provide deeply discounted prices\nin exchange for your commitment to continuously use database instances in a particular region for\na one- or three-year term. In the pricing tables on this page, the prices for CUDs are listed\nas commitments. For more information about these commitments, see\n[Committed use discounts](/sql/cud).\n\nIn the following tables:\n\n- Select your region from the dropdown menu to see the price for that region\n- Use the slider to choose **Monthly** or **Hourly** pricing\n- Compare pricing between per use, 1-year, and 3-year commitments\n\n\u003cbr /\u003e\n\n### Enterprise edition\n\nIf you pay in a currency other than USD, the prices listed in your currency on [Cloud Platform SKUs](https://cloud.google.com/skus/) apply.\n\n### Enterprise Plus edition - N2 machine series\n\nIf you pay in a currency other than USD, the prices listed in your currency on [Cloud Platform SKUs](https://cloud.google.com/skus/) apply.\n\n### Enterprise Plus edition - Memory optimized N2 machine series\n\nIf you pay in a currency other than USD, the prices listed in your currency on [Cloud Platform SKUs](https://cloud.google.com/skus/) apply.\n\nStorage and networking pricing\n------------------------------\n\nSQL server storage and networking prices depend on the region where the instance is located.\nSelect your region in the dropdown on the pricing table.\n\n*HA* prices are applied for instances configured for high availability, also called regional\ninstances. [Learn more about high availability](/sql/docs/sqlserver/high-availability).\n| **Note:** Committed use discounts do not apply to storage or network prices.\n\n\nIn the following table, select your region from the dropdown menu to see the price for that region.\nIf you pay in a currency other than USD, the prices listed in your currency on [Cloud Platform SKUs](https://cloud.google.com/skus/) apply.\n\n### Network Egress Pricing\n\nWhen network traffic leaves a Cloud SQL instance, the charge applied depends on the destination\nof the traffic, and in some cases, whether a partner is involved.\n\nInternet egress is network traffic leaving a Cloud SQL instance to a client that is not a\nGoogle product, such as using a local server to read data from Cloud SQL.\n\nIf you pay in a currency other than USD, the prices listed in your currency on [Cloud Platform SKUs](https://cloud.google.com/skus/) apply.\n\n### Licensing\n\n\nIn addition to instance and resource pricing, SQL Server also has a licensing component. High availability, or regional instances, will only incur the cost for a\nsingle license for the active resource.\n| **Note:** As a managed service, Cloud SQL does not support BYOL (Bring your own license).\n\n\nYou can learn more about instance creation and the various\neditions[here](/sql/docs/sqlserver/instance-settings).\n| **Note:** Committed Use Discounts do not apply to licenses.\n\n\nMicrosoft SQL Server licensing requires a core license to be assigned to each virtual CPU on your\ninstance, with a four core minimum for each instance. Instances with fewer than 4 vCPUs will be\ncharged for SQL Server at 4 times the license rate to comply with these requirements. For\ninstances with 4 or more vCPUs, you will be charged for the number of SQL Server licenses that is\nequal to the number of vCPUs.\n| **Important** : [SQL Server Web Edition](/sql/docs/sqlserver/create-instance#expandable-2) software can only be used to support public and internet-accessible pages, websites, and web services. You can't use SQL Server Web edition to support line of business applications such as Customer Relationship Management, Enterprise Resource Management, or other similar applications. For more information, see [Google Cloud Terms of Service for Microsoft Products](/terms/service-terms/microsoft).\n\nDisabling [simultaneous multithreading (SMT)](/sql/docs/sqlserver/create-instance#smt-create-instance)\nreduces the number of virtual CPUs (vCPUs) per core from 2 to 1,\nwhich in turn might reduce your SQL Server licensing costs.\nDisabling SMT doesn't change the compute engine price for SQL Server.\nYou are billed for the number of vCPUs defined in the SQL Server CPU configuration.\nThe following examples show how disabling SMT affects your billing:\n\nNote that despite disabling SMT, User3's SQL Server license fees are calculated for 4 vCPUs because SQL Server licensing requires a core license to be assigned to each virtual CPU on your instance, with a minimum of four cores for each instance.\n\n\nSQL Server instance licenses are charged a **1 minute minimum.** After 1 minute,\nSQL Server instance licenses are charged in **1 second increments**.\n\n### Cloud DNS pricing\n\nWith Cloud DNS pricing, the charge is per zone per month (regardless of whether you use your zone), and you also pay for queries against your zones. For more information, see [Cloud DNS pricing](/dns/pricing).\n\n\u003cbr /\u003e\n\nWhat's next\n-----------\n\n- Learn more about [Cloud SQL Enterprise Plus edition](https://www.youtube.com/watch?v=JyVXBHvw0K4).\n- Refer to the [Pricing Overview documentation](/pricing).\n- Visit the [pricing examples page](/sql/docs/sqlserver/pricing-examples) to see how you can calculate your potential costs.\n- Try the [Pricing Calculator](/products/calculator).\n- Learn more about [instance settings](/sql/docs/sqlserver/instance-settings).\n- Learn more about the [high availability configuration](/sql/docs/sqlserver/high-availability).\n\n#### Request a custom quote\n\nWith Google Cloud's pay-as-you-go pricing, you only pay for the services you use. Connect with our sales team to get a custom quote for your organization.\n[Contact sales](/contact?direct=true)"]]