Excessive totalsize in trace_d_b task_execution_d_b collections in Mongo #5623
Unanswered
carlosverbo
asked this question in
Q&A
Replies: 1 comment
-
Hi, If you can't upgrade, then you'd need to do a manual purge on the collections with the appropriate mongo commands (you can take a look at the underlying garbage collection code in github to see what queries we use for purging). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have huge totalSize for collections trace_d_b and task_execution_d_b, as result, fs occupation reached 93%, I need to decrease it.
After purge-executions and purge-trigger and compact, totalSize doesn't decrease.
/opt/stackstorm/st2/bin/st2-purge-executions --config-file /etc/st2/st2.conf --timestamp="2022-04-14T00:00:00.000000Z" --purge-incomplete
/opt/stackstorm/st2/bin/st2-purge-trigger-instances --config-file /etc/st2/st2.conf --timestamp="2022-04-141T00:00:00.000000Z"
any procedure to realase space in mentioned collections?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions