This topic describes how AnalyticDB for MySQL clusters are billed when you change cluster configurations.
Upgrade fee = (Daily unit price after upgrade/24 hours/3,600 seconds) × Remaining subscription period - (Daily unit price before upgrade/24 hours/3,600 seconds) × Remaining subscription period
If the remaining subscription period is less than 365 days, the daily unit price is calculated as the monthly unit price divided by 30.
If the remaining subscription period is greater than or equal to 365 days, the daily unit price is calculated as the annual unit price divided by 365.
Billing of configuration changes is accurate to the second.
For information about refund rules for downgrade, see Refund rules for real-time configuration downgrade.
This billing method lets you use resources before you pay for them. Bills are generated on an hourly basis, and the hourly fee is calculated based on the specifications of your cluster. Fees are deducted from your account every hour.
For more information about configuration changes, see Change cluster configurations (Data Warehouse Edition) and Change cluster configurations (Data Lakehouse Edition).