Oh, thanks. I checked it like you suggest before, but results are somewthat strange.
Most pieces uploaded have size like few kB.
But it solves my other question - how my node can get 100k+ uploads in half a day, but ingress bandwidth is only like 20GB
For post analysis it’s highly recommended to use some kind of log collection service and monitoring system in place.
The storagenode will remove the information regarding deleted pieces when they will be deleted from the disk, you can collect this information only while it is in the trash. You have only 7 days for that.
For that to be implemented the node would have to keep more information on deletes in its db’s. I’m guessing this will be a new action in the existing tables in bandwidth.db. however, that data gets aggregated (rolled up) quickly to prevent the db from getting very large and slow. So you won’t have per piece information. But totals would be there. This is however still speculation on how that may be implemented.