Revise metabase's indexes #2989
Labels
enhancement
Improving existing functionality
I4
No visible changes
neofs-storage
Storage node application issues
performance
More of something per second
S2
Regular significance
U2
Seriously planned
Is your feature request related to a problem? Please describe.
I'm always frustrated when I receive questions about metabase I cannot answer. Sometimes such questions make sense. Also, it is a fact that most of the indexes were created many years ago and then just extended when needed. We have added LOCKs, reworked big objects, added TREE service, and decided to drop it but our indexes are the same. The last straw was the requirement to unmarshal an object when trying to delete it, and if is not possible, it is a deadlock: #2971 (you cannot clear the full object info if you do not unmarshal it, you just do not have reverse OID -> attributes index)
Describe the solution you'd like
Just look at indexes, try to see the whole picture, and see if we can drop some, or if we need to add some. E.g. it seems like currently, GT/LT search filters do take a lot of resources.
Describe alternatives you've considered
In fact, it works now nothing can be done but it feels like a matter of time.
Additional context
Current state: https://github.com/nspcc-dev/neofs-node/blob/master/pkg/local_object_storage/metabase/VERSION.md.
The text was updated successfully, but these errors were encountered: