How does the garbage collector works and how to anticipate its activity?

Tristan Cariou 5 Reputation points
2023-02-19T19:40:51.4633333+00:00

Hello there,

I try do develop a product to track the Gen2 activity based on activity logs. The issue here is with the garbage collector, regarding its action and how to anticipate it. I cannot find exactly how or when it will act, nor any trace of its activity in the logs (when it deletes uncommitted blocs for example). Is the 7-days interval between 2 actions of the garbage collector an absolute rule? I found .NET and Powershell scripts to configure it or force its passage but would like to know if anyone has more informations about it, other ways to configure it and/or interesting documentation to share.

Thanks in advance for your help!

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,201 questions
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.