Checks whether the connection pool type of the endpoint of each PolarDB cluster is the same as a specified value. If so, the evaluation result is Compliant.

Scenarios

This rule applies when you need to select an appropriate connection pool based on your business requirements. This helps reduce the excessive workloads of databases caused by a large number of connections and ensure business stability.

Risk level

Default risk level: medium.

When you configure this rule, you can change the risk level based on your business requirements.

Compliance evaluation logic

  • If the connection pool type of the endpoint of each PolarDB cluster is the same as a specified value, the evaluation result is Compliant.
  • If the connection pool type of the endpoint of a PolarDB cluster is different from a specified value, the evaluation result is Incompliant. For more information about how to remediate an incompliant configuration, see Incompliance remediation.

Rule details

ItemDescription
Rule namepolardb-cluster-address-connection-persist-check
Rule identifierpolardb-cluster-address-connection-persist-check
TagPolarDB
Automatic remediationNot supported
Trigger typePeriodic execution
Evaluation frequencyInterval of 24 hours
Supported resource typePolarDB clusters
Input parameterConnectionPersist
Valid values:
  • Session: session-level. This is the default value.
  • Transaction: transaction-level.
  • Off: disabled.

Incompliance remediation

Set the connection pool type of the endpoint of a PolarDB cluster to a specified value. For more information, see Configure PolarProxy.