polardb-cluster-address-connection-persist-check

更新时间:
复制 MD 格式

Evaluates whether the connection pool type of each PolarDB cluster endpoint matches a specified value. If yes, the configuration is compliant.

Scenarios

Select an appropriate connection pool for your business to reduce database workloads caused by excessive connections and improve stability.

Risk level

Default risk level: medium.

You can change the risk level when you configure this rule.

Compliance evaluation logic

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

Rule details

Item Description
Rule name polardb-cluster-address-connection-persist-check
Rule identifier polardb-cluster-address-connection-persist-check
Tag PolarDB
Automatic remediation Not supported
Trigger type Periodic execution
Evaluation frequency Interval of 24 hours
Supported resource type PolarDB clusters
Input parameter ConnectionPersist
Valid values:
  • Session: session-level. This is the default value.
  • Transaction: transaction-level.
  • Off: disabled.

Incompliance remediation

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