microsoft / AzureStorageExplorer

Easily manage the contents of your storage account with Azure Storage Explorer. Upload, download, and manage blobs, files, queues, tables, and Cosmos DB entities. Gain easy access to manage your virtual machine disks. Work with either Azure Resource Manager or classic storage accounts, plus manage and configure cross-origin resource sharing (CORS) rules.
Creative Commons Attribution 4.0 International
370 stars 84 forks source link

Adding "Pause" functionality for Directory Statistics #8092

Open wjhhuizi opened 1 month ago

wjhhuizi commented 1 month ago

Preflight Checklist

Problem

My organization has a huge folder with millions of objects, calculating the total size taking hours to complete, I will need to switch networks during the statistics calculation.

Desired Solution

Adding a "Pause" button next to the "Cancel" Button

Alternatives and Workarounds

No response

Additional Context

No response

craxal commented 1 month ago

@wjhhuizi The statistics feature for Storage Explorer is not meant to get extremely accurate results. This is impossible primarily because cloud storage is often in constant flux. Multiple users are uploading, modifying, or deleting objects all the time. Running a statistics operation from Storage Explorer on containers with millions of blobs in them takes a lot of time. By the time it finishes, the collected statistics are already out of date.

Adding a pause feature can only exacerbate this situation. It essentially makes the statistics operation take longer, and even more modifications to the container can occur in that time.

We will hold onto this feature request for future considerations. In the meantime, if you need reasonably fast and accurate statistics, have you considered Azure Storage blob inventory?