Starting December 22, 2023, ApsaraDB RDS for PostgreSQL provides general-purpose database proxies free of charge.
Effective date
December 22, 2023
Introduction
A database proxy of ApsaraDB RDS for PostgreSQL serves as a network proxy that resides between your database system and your application and receives all requests from your application. A database proxy supports read/write splitting and transaction splitting to reduce loads on your primary RDS instance. A database proxy has multiple benefits, including high availability, high performance, easy O&M, and ease of use.
ApsaraDB RDS for PostgreSQL provides general-purpose and dedicated database proxies. General-purpose database proxies are provided free of charge. For more information about the differences between the two types of database proxies and supported features, see What are database proxies?
Scenarios
The primary RDS instance is heavily loaded due to a large number of requests that are encapsulated in transactions.
The primary RDS instance is heavily loaded due to an excessively large number of connections.
Read/write splitting is required.
Read-only workloads and workloads that need to be isolated are processed.
Prerequisites
Your RDS instance meets the following requirements:
The RDS instance runs PostgreSQL 10 or later.
The RDS instance uses cloud disks.
The RDS instance runs RDS High-availability Edition.
The RDS instance is a primary RDS instance.
If your RDS instance resides in Hangzhou Zone C or Hangzhou Zone D, database proxies cannot be enabled for the RDS instance. If you want to enable database proxies for the RDS instance, you must migrate the RDS instance from Hangzhou Zone C or Hangzhou Zone D to another zone. For more information, see Migrate an ApsaraDB RDS for PostgreSQL instance across zones in the same region.
Billing rules
General-purpose database proxies are provided free of charge.
Dedicated database proxies are billed based on the pay-as-you-go billing method. For more information, see Billing rules for database proxies.
Enable the database proxy feature
For more information, see Enable the dedicated proxy feature.