預付具有 Azure SQL Database 保留容量的 SQL Database 計算資源Prepay for SQL Database compute resources with Azure SQL Database reserved capacity

使用 Azure SQL Database 時,對於計算資源的預付費用,會比預付型方案的價格還要划算。Save money with Azure SQL Database by prepaying for compute resources compared to pay-as-you-go prices. 若使用 Azure SQL Database 保留容量,即表示您預先承諾會使用 SQL Database 一或三年的時間,來換取大幅的計算費用折扣。With Azure SQL Database reserved capacity, you make an upfront commitment on SQL Database for a period of one or three years to get a significant discount on the compute costs. 若要購買 SQL Database 保留容量,您必須指定 Azure 區域、部署類型、效能層級與期間。To purchase SQL Database reserved capacity, you need to specify the Azure region, deployment type, performance tier, and term.

您不需將保留指派給特定的 SQL Database 執行個體 (單一資料庫、彈性集區或受控執行個體)。You do not need to assign the reservation to specific SQL Database instances (single databases, elastic pools, or managed instances). 只要符合已執行或新部署的 SQL Database 執行個體,就會自動獲得好處。Matching SQL Database instances, that are already running or ones that are newly deployed, will automatically get the benefit. 透過購買保留,您會預付為期一或三年的計算費用。By purchasing a reservation, you are pre-paying for the compute costs for a period of one or three years. 購買保留容量後,符合保留屬性的 SQL Database 計算費用就不會再按照預付型方案的費率來收費。As soon as you buy a reservation, the SQL Database compute charges that match the reservation attributes are no longer charged at the pay-as-you go rates. 保留容量並未涵蓋與 SQL Database 執行個體相關聯的軟體、網路或儲存體費用。A reservation does not cover software, networking, or storage charges associated with the SQL Database instance. 在保留期限結束時,計費好處會到期,隨後 SQL Database 便會按照預付型方案的費率來計費。At the end of the reservation term, the billing benefit expires and the SQL Databases are billed at the pay-as-you go price. 保留不會自動更新。Reservations do not auto-renew. 如需定價資訊,請參閱 SQL Database 保留容量供應項目For pricing information, see the SQL Database reserved capacity offering.

您可以在 Azure 入口網站購買 Azure SQL Database 保留容量。You can buy Azure SQL Database reserved capacity in the Azure portal. 若要購買 SQL Database 保留容量:To buy SQL Database reserved capacity:

  • 您必須至少為一個企業或預付型方案訂用帳戶的擁有者角色。You must be in the owner role for at least one Enterprise or Pay-As-You-Go subscription.
  • 針對企業訂用帳戶,必須在 EA 入口網站中啟用新增保留執行個體For Enterprise subscriptions, Add Reserved Instances must be enabled in the EA portal. 或者,如果該設定已停用,則您必須是訂用帳戶上的 EA 系統管理員。Or, if that setting is disabled, you must be an EA Admin on the subscription.
  • 若為雲端解決方案提供者 (CSP) 方案,則只有系統管理員代理人或銷售人員可以購買 SQL Database 保留容量。For Cloud Solution Provider (CSP) program, only the admin agents or sales agents can purchase SQL Database reserved capacity.

如需如何向企業客戶和預付型方案客戶收取購買保留費用的詳細資料,請參閱了解 Enterprise 註冊的 Azure 保留使用量了解預付型方案訂用帳戶的 Azure 保留使用量The details on how enterprise customers and Pay-As-You-Go customers are charged for reservation purchases, see understand Azure reservation usage for your Enterprise enrollment and understand Azure reservation usage for your Pay-As-You-Go subscription.

先決定正確的 SQL 大小再購買Determine the right SQL size before purchase

保留的大小應根據特定區域內現有或即將部署的單一資料庫、彈性集區或受控執行個體所使用的總計算量,並使用相同效能層級和硬體世代來決定。The size of reservation should be based on the total amount of compute used by the existing or soon-to-be-deployed single databases, elastic pools, or managed instances within a specific region and using the same performance tier and hardware generation.

例如,假設您要執行一個一般用途 Gen5 – 16 個虛擬核心的彈性集區,以及兩個商務關鍵性 Gen5 – 4 個虛擬核心的單一資料庫。For example, let's suppose that you are running one general purpose, Gen5 – 16 vCore elastic pool, and two business critical, Gen5 – 4 vCore single databases. 此外,假設您打算在下個月再部署一個一般用途 Gen5 – 16 個虛擬核心的彈性集區,以及一個商務關鍵性 Gen5 – 32 個虛擬核心的彈性集區。Further, let's supposed that you plan to deploy within the next month an additional general purpose, Gen5 – 16 vCore elastic pool, and one business critical, Gen5 – 32 vCore elastic pool. 還有,假設您知道您需要使用這些資源至少 1 年的時間。Also, let's suppose that you know that you will need these resources for at least 1 year. 在此情況下,您應該針對單一/彈性集區一般用途 - Gen5 購買 32 (2x16) 虛擬核心、為期 1 年的保留,以及針對單一/彈性集區商務關鍵性 - Gen5 購買 40 (2x4 + 32) 虛擬核心、為期 1 年的保留。In this case, you should purchase a 32 (2x16) vCores, 1 year reservation for single database/elastic pool general purpose - Gen5 and a 40 (2x4 + 32) vCore 1 year reservation for single database/elastic pool business critical - Gen5.

購買 SQL Database 保留容量Buy SQL Database reserved capacity

  1. 登入 Azure 入口網站Sign in to the Azure portal.

  2. 選取 [所有服務] > [保留]。Select All services > Reservations.

  3. 選取 [新增],然後在 [選取產品類型] 窗格中,選取 [SQL 資料庫] 以購買新的 SQL Database 保留容量。Select Add and then in the Select Product Type pane, select SQL Database to purchase a new reservation for SQL Database.

  4. 填寫必要欄位。Fill in the required fields. 符合所選屬性的現有或全新單一資料庫、彈性集區或受控執行個體,就有資格獲得保留容量折扣。Existing or new single databases, elastic pools, or managed instances that match the attributes you select qualify to get the reserved capacity discount. 取得折扣的 SQL Database 執行個體實際數目取決於選取的範圍和數量。The actual number of your SQL Database instances that get the discount depend on the scope and quantity selected.

    提交 SQL Database 保留容量購買前的螢幕擷取畫面

    欄位Field 描述Description
    名稱Name 此保留項目的名稱。The name of this reservation.
    訂用帳戶Subscription 用來支付 SQL Database 保留容量費用的訂用帳戶。The subscription used to pay for the SQL Database reserved capacity reservation. SQL Database 保留容量的預付費用會透過訂用帳戶的付款方式收取。The payment method on the subscription is charged the upfront costs for the SQL Database reserved capacity reservation. 訂用帳戶類型必須是 Enterprise 合約 (供應項目號碼:MS-AZR-0017P 或 MS-AZR-0148P) 或預付型方案 (供應項目號碼:MS-AZR-0003P 或 MS-AZR-0023P)。The subscription type must be an enterprise agreement (offer numbers: MS-AZR-0017P or MS-AZR-0148P) or Pay-As-You-Go (offer numbers: MS-AZR-0003P or MS-AZR-0023P). 針對企業訂用帳戶,費用會從註冊的承諾用量金額餘額扣除或作為超額部分收費。For an enterprise subscription, the charges are deducted from the enrollment's monetary commitment balance or charged as overage. 針對預付型方案訂用帳戶,費用是透過訂用帳戶的信用卡或發票付款方式收取。For Pay-As-You-Go subscription, the charges are billed to the credit card or invoice payment method on the subscription.
    影響範圍Scope 虛擬核心保留容量範圍可以涵蓋一個訂用帳戶或多個訂用帳戶 (共用範圍)。The vCore reservation’s scope can cover one subscription or multiple subscriptions (shared scope). 如果您選取:If you select:

    單一訂用帳戶:虛擬核心保留折扣會套用至此訂用帳戶中的 SQL Database 執行個體。Single subscription - The vCore reservation discount is applied to SQL Database instances in this subscription.

    共用訂用帳戶:虛擬核心保留折扣會套用至您帳單內容內任何訂用帳戶中所執行的 SQL Database 執行個體。Shared subscription - The vCore reservation discount is applied to SQL Database instances running in any subscriptions within your billing context. 針對企業客戶,共用範圍是註冊,並包含註冊中的所有訂用帳戶。For enterprise customers, the shared scope is the enrollment and includes all subscriptions within the enrollment. 針對預付型方案客戶,共用範圍是帳戶系統管理員所建立的所有預付型方案訂用帳戶。For Pay-As-You-Go customers, the shared scope is all Pay-As-You-Go subscriptions created by the account administrator.
    區域Region SQL Database 保留容量所涵蓋的 Azure 區域。The Azure region that’s covered by the SQL Database reserved capacity reservation.
    部署類型Deployment Type 您要為其購買保留容量的 SQL 資源類型。The SQL resource type that you want to buy the reservation for.
    效能層級Performance Tier SQL Database 執行個體的服務層級。The service tier for the SQL Database instances.
    詞彙Term 一年或三年。One year or three years.
    數量Quantity SQL Database 保留容量內所購買的執行個體數目。The number of instances being purchased within the SQL Database reserved capacity reservation. 數量是可以取得帳單折扣的執行中 SQL Database 執行個體數目。The quantity is the number of running SQL Database instances that can get the billing discount. 例如,如果您在美國東部執行 10 個 SQL Database 執行個體,那麼您會指定數量為 10,以最大化所有執行中機器的效益。For example, if you are running 10 SQL Database instances in the East US, then you would specify quantity as 10 to maximize the benefit for all running machines.
  5. 檢閱 [成本] 區段中 SQL Database 保留容量的成本。Review the cost of the SQL Database reserved capacity reservation in the Costs section.

  6. 選取 [購買]。Select Purchase.

  7. 選取 [檢視此保留] 以查看您的購買狀態。Select View this Reservation to see the status of your purchase.

取消和交換Cancellations and exchanges

如果您需要取消保留 SQL Database 保留容量,可能會有 12% 的提前解約金。If you need to cancel your SQL Database reserved capacity reservation, there may be a 12% early termination fee. 退款以您的購買價格或目前保留的價格為準,視孰者為低。Refunds are based on the lowest price of either your purchase price or the current price of the reservation. 每年的退款金額上限為 50,000 美元。Refunds are limited to $50,000 per year. 您收到的退款是按比例計算的餘額扣除 12% 提前解約金的金額。The refund you receive is the remaining pro-rated balance minus the 12% early termination fee. 若要要求取消,請移至 Azure 入口網站中的保留區,並選取 [退款] 以建立支援要求。To request a cancellation, go to the reservation in the Azure portal and select Refund to create a support request.

如果您需要將 [SQL Database 保留容量] 保留區變更為另一個區域、部署類型、效能層級或期間,您可以將它與等值或更高價值的另一個保留區交換。If you need to change your SQL Database reserved capacity reservation to another region, deployment type, performance tier, or term, you can exchange it for another reservation that's of equal or greater value. 新保留區的期間開始日期不會延續自交換的保留區。The term start date for the new reservation doesn't carry over from the exchanged reservation. 1 或 3 年的期限會從您建立新的保留時起算。The 1 or 3 year term starts from when you create the new reservation. 若要要求交換,請移至 Azure 入口網站中的保留,並選取 [交換] 以建立支援要求。To request an exchange, go to the reservation in the Azure portal, and select Exchange to create a support request.

如需如何交換或退款的保留區的詳細資訊,請參閱保留交換記錄和退費記錄For more information about how to exchange or refund reservations, see Reservation exchanges and refunds.

vCore 大小彈性vCore size flexibility

vCore 大小彈性可協助您在效能層級和區域內相應增加或相應減少,而不會失去保留容量優勢。vCore size flexibility helps you scale up or down within a performance tier and region, without losing the reserved capacity benefit. SQL Database 保留容量為您提供彈性地在集區與單一資料庫之間暫時移動最忙碌的資料庫,作為一般作業 (在相同的區域和效能層級) 的一部分,而不會失去保留容量優勢。SQL Database reserved capacity also provides you with the flexibility to temporarily move your hot databases between pools and single databases as part of your normal operations (within the same region and performance tier) without losing the reserved capacity benefit. 透過在保留區中保留未套用的緩衝區,您可以在不超出您預算的情況下有效地管理效能高峰。By keeping an un-applied buffer in your reservation, you can effectively manage the performance spikes without exceeding your budget.

後續步驟Next steps

虛擬核心保留容量折扣會自動套用至符合 SQL Database 保留容量範圍和屬性的 SQL Database 執行個體數目。The vCore reservation discount is applied automatically to the number of SQL Database instances that match the SQL Database reserved capacity reservation scope and attributes. 您可以透過 Azure 入口網站、PowerShell、CLI 或 API 來更新 SQL Database 保留容量的範圍。You can update the scope of the SQL Database reserved capacity reservation through Azure portal, PowerShell, CLI or through the API.

若要了解如何管理 SQL Database 保留的容量保留,請參閱管理 SQL Database 保留容量To learn how to manage the SQL Database reserved capacity reservation, see manage SQL Database reserved capacity.

若要深入了解 Azure 保留項目,請參閱下列文章:To learn more about Azure Reservations, see the following articles:

需要協助嗎?Need help? 與我們連絡Contact us

如果您有問題或需要協助,請建立支援要求If you have questions or need help, create a support request.