Skip to content

DB table "vm_stats" is keeping data more than 4 months #11131

Answered by JoaoJandre
GerorgeEG asked this question in Q&A
Discussion options

You must be logged in to vote

It is most likely the same situation that led me to create #8740, where there's a timeout deleting the stats one day and since there's even more stuff to delete the next day... it just times out every day.

In #8740 I created a configuration called vm.stats.remove.batch.size batch delete the data instead of trying to delete all of it in a single query. The configuration has since been renamed to delete.batch.query.size in #9283.

You may try to set this configuration to a sane value and see if ACS is able to delete the stats. I would advise against truncating the table. If you do not set the configuration, it is likely that this behavior will come back.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JoaoJandre
Comment options

Answer selected by DaanHoogland
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants
Converted from issue

This discussion was converted from issue #11103 on July 03, 2025 11:26.