Evaluates whether transaction splitting is disabled for each PolarDB cluster endpoint. If disabled, the evaluation result is Compliant.
Scenarios
Disabling transaction splitting can improve stability, simplify management, and reduce latency and deadlocks. However, disabling this feature may prevent some cross-shard transactions from executing. Evaluate the trade-offs based on your actual use case.
Risk level
Default risk level: medium.
You can adjust the risk level based on your business requirements.
Compliance evaluation logic
-
If the transaction splitting feature is disabled for the endpoint of each PolarDB cluster, the evaluation result is Compliant.
-
If the transaction splitting feature is enabled for the endpoint of a PolarDB cluster, the evaluation result is Non-compliant.
Rule details
|
Item |
Description |
|
Rule name |
polardb-cluster-address-distributed-transaction-disabled |
|
Rule ID |
|
|
Tag |
PolarDB |
|
Automatic remediation |
Not supported |
|
Trigger type |
Periodic execution |
|
Evaluation frequency |
Every 24 hours |
|
Supported resource type |
PolarDB cluster |
|
Input parameter |
None |
Non-compliance remediation
Disable the transaction splitting feature for the endpoint of each PolarDB cluster. For more information, see Configure PolarProxy.