I'm running mysql(v8.0.21) single primary group replication in the Kubernetes cluster. Here, we are setting resource limits for each pod.
resources:
limits:
cpu: 500m
memory: 1Gi
requests:
cpu: 500m
memory: 1Gi
By default, the value of group_replication_message_cache_size
is 128Mi, I'm trying to find a relationship with the given memory limit so that we can get the maximum performance.
- How to calculate/determine
group_replication_message_cache_size
from the memory limit? like what is the percentage? what should be the maximum value?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…