Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revise metabase's indexes #2989

Open
carpawell opened this issue Oct 30, 2024 · 1 comment
Open

Revise metabase's indexes #2989

carpawell opened this issue Oct 30, 2024 · 1 comment
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

Comments

@carpawell
Copy link
Member

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.

@carpawell carpawell added neofs-storage Storage node application issues performance More of something per second labels Oct 30, 2024
@roman-khimov
Copy link
Member

you cannot clear the full object info if you do not unmarshal it, you just do not have reverse OID -> attributes index

Well, it's a problem. Functionally, performance-wise. Other things can be less important, like #2757.

@roman-khimov roman-khimov added enhancement Improving existing functionality U2 Seriously planned S2 Regular significance I4 No visible changes labels Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants