Hi @Matthew Mckenzie,
Welcome to Microsoft Q&A forum.
As I understand it, you're experiencing unexpected behavior with the CPU credit replenishment on your B20ms 'Flexible Server for Postgres.' The CPU credit system for burstable VMs, such as the B-series, is designed to accumulate credits when CPU usage is below a certain threshold and consume them when usage exceeds that threshold.
However, there are a few important details to consider:
1.The rate at which credits accumulate can vary based on the specific VM size and the base performance level. For B20ms, the accumulation might not be linear and could involve certain quanta or steps.
2.When the CPU usage spikes above the base level, credits are consumed. This consumption can appear in small steps, as you've observed.
3.If the CPU usage remains consistently low (e.g., 0.5% for extended periods), the credits should ideally replenish. However, there might be a minimum threshold or quanta involved in the replenishment process that isn't explicitly documented.
4.Over a longer period, if the CPU usage is predominantly low, the credits should eventually return to a higher level. If this isn't happening, it might be worth investigating further with Azure support to ensure there isn't an underlying issue.
For more information, please refer the documents:
https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/concepts-compute
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.