AnalyticDB for PostgreSQL allows you to upgrade or downgrade instance configurations based on your business requirements to optimize resource usage and cost performance.

Pay-as-you-go instances

The per-second billing model is used for pay-as-you-go AnalyticDB for PostgreSQL instances. You are billed in one-second increments, and bills are generated on an hourly basis. Fees are deducted from your account every hour. If the configurations of an instance are changed within an hour, you are billed in one-second increments based on the current configurations and state.

For example, assume that you changed the specifications of a pay-as-you-go instance and the change was completed at 11:30:00. The following bills are generated during the period of 11:00:00 to 12:00:00:

  • The first bill is generated for the period of 11:00:00 to 11:30:00 based on the instance specifications before the change.
  • The second bill is generated for the period of 11:30:00 to 12:00:00 based on the instance specifications after the change.

For more information about per-second billing, see Per-second billing.

Subscription instances

Configuration changeBilling rule
UpgradeUpgrade fee = (Daily fee after upgrade - Daily fee before upgrade) × Remaining time before expiration
Note The remaining time before expiration is accurate to seconds.
Downgrade

For information about refunds for downgrade, see Rules for unsubscribing from resources.

Note If the number of remaining days before expiration is less than 365, you are charged based on the monthly subscription price. If the number of remaining days is greater than or equal to 365, you are charged based on the annual subscription price.