Purchase and view serverless compute plans
PolarDB provides serverless compute plans. These plans can offset the compute resources for serverless clusters and the serverless feature of clusters with defined specifications. This document describes how to purchase serverless compute plans and view their offset usage.
Notes
The price of serverless compute plans is the same in all regions, including the Chinese mainland, Hong Kong (China), and regions outside China: CNY 0.38 per PolarDB Capacity Unit (PCU) per hour. This is 95% of the original serverless price in the Chinese mainland. However, the offset factor varies by region. For more information, see Serverless billing.
Purchase a serverless compute plan
Log on to the serverless compute plan purchase page.
Configure the capacity and specifications of the resource plan.
Click Next: Confirm Order.
Set the subscription duration and quantity, and then select Cloud-native Database PolarDB Service Level Agreement.
Click Buy Now.
Click Pay to complete the purchase.
View the offset usage of a serverless compute plan
After you successfully purchase a serverless compute plan, it automatically offsets the serverless compute resources for PolarDB for MySQL. You can then view the offset usage of the plan.
Log on to Expenses and Costs.
In the navigation pane on the left, click .
On the Resource Plan page, set Resource Dimension to Resource Plan.
On the Instance Summary tab, find the serverless compute plan that you purchased. You can view the total and remaining capacity of the resource plan.
On the Usage Details tab, find the serverless compute plan that you purchased. You can view the offset usage, original instance usage, and offset coefficient for each deduction.
Serverlesscomputeresourceofdeductvolumebyhourbill, specificcomputerulethensuch asunder:
-
inonehourwithin, PCUofquantityeachchange onetime, Serverlesscompute packagethenwilldeductonetime.
-
eachtimedeductofdeductcoefficient = deductfactor * timecoefficient.itsin, timecoefficient = thisPCUcontinueofsecondnumber / 3600(onehourofsecondnumber).
-
eachhoursegmentwithinofdeductcoefficienttotalandetcatthisregionforshouldofdeductfactor.
for example, certainunitregionofdeductfactoras1.9.certainunitPCUincertainhourwithincontinuealready2700second(that is0.75hour), thatwhatthisPCUinthisunithourwithinofdeductcoefficientas1.9 * 0.75 = 1.425.andanotherunitPCUinthisunithourwithincontinuealready900second(that is0.25hour), thatwhatthisPCUinthisunithourwithinofdeductcoefficientas1.9 * 0.25 = 0.475.thisunithourwithintwotimedeductofdeductcoefficienttotalandetcat1.9.
Unsubscribe from a serverless compute plan
PolarDB supports self-service unsubscription for serverless compute plans. You can perform a self-service unsubscription in the console.
Log on to the PolarDB console.
In the upper-right corner of the page, click to go to the Expenses and Costs page.
In the navigation pane on the left, choose Orders > Resource Unsubscription.
On the Resource Unsubscription page, choose Unsubscribe from Resources in Use > Resource Plan.
Find the serverless compute plan that you want to unsubscribe from, and then click Unsubscribe in the Actions column.
Select a Reason for Unsubscription, select the relevant agreements, and then click Unsubscribe Now.
In the dialog box that appears, click OK.
For information about refunds, see Refunds.
For unsubscription rules and FAQs, see Unsubscription rules and Unsubscription FAQ.