What is availability detection?

更新时间:
复制 MD 格式

Availability detection is how ApsaraDB RDS monitors the health status of your RDS instance. RDS supports two detection methods: short-lived connection and persistent connection. By default, RDS uses persistent connections.

The right method depends on how your application connects to the database. Use the following table to choose based on your connection pattern.

Choose a detection method

Connection pattern Detection method Why
Your application frequently opens and closes database connections Short-lived connection Matches how your app connects
Your application uses a connection pool Persistent connection (default) Consistent with pooled connection behavior

Change the detection method

Changing the detection method does not affect workloads on your RDS instance.