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

Deleting metadata(expire_snapshots doesn't help...) #11169

Open
atomsis opened this issue Sep 19, 2024 · 1 comment
Open

Deleting metadata(expire_snapshots doesn't help...) #11169

atomsis opened this issue Sep 19, 2024 · 1 comment
Labels
question Further information is requested

Comments

@atomsis
Copy link

atomsis commented Sep 19, 2024

Query engine

I am working with Trina Iceberg connector

Question

It does not have vacuum which, if I am not mistaken, solves my problem. I had a task to optimize packages (I used optimize - everything is ok with it, it works as it should). And also it is necessary to delete old snapshots (for example, older than 7 days) - I used expire_snapshots - the documentation says that it deletes both old snapshots and metadata from them - but not only does it not delete metadata - it seems to not delete regular snapshots either. Then I decided to use remove_orphan_files. It works better - but does not delete metadata - but does as I want = deletes snapshots older than a certain period. Another small clarification: remove_orphan_files worked and then began to work every other time, I added commands in a row: first expire_snapshots and then remove_orphan_files - and now it consistently cleans old snapshots, but not metadata, although it seems that expire_snapshots should. Help me with any ideas (I apologize for my English)

@atomsis atomsis added the question Further information is requested label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants
@atomsis and others