Alibaba Cloud continuously monitors the health of your ApsaraDB RDS instance using one of two detection methods: short-lived connection or persistent connection. The default is persistent connection.
Choose a detection method
| Application pattern | Recommended method |
|---|---|
| Frequently opens and closes connections | Short-lived connection |
| Uses a connection pool | Persistent connection (default) |
If your application frequently opens and closes connections, use short-lived connection.
If your application uses a connection pool, keep the default persistent connection.
Note Changing the detection method does not affect workloads running on your RDS instance.