Skip to content

Does Qdrant have a cleanup process or job (or vector expiration) #5441

Answered by timvisee
anthonyolazabal asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry, I misunderstood that you wanted to expire vectors yourself.

Currently, yes. You'd need your own job for this. Adding a timestamp and using a separate job to do the deletes should be perfectly fine. You're right, the vacuum optimizer will prune the vectors from storage.

Please make sure you define a payload index on the timestamp field to ensure fast deletion: https://qdrant.tech/documentation/concepts/indexing/#payload-index

There is no alternative to automatically delete the points after a certain period (like 1 day or more) ?

Correct. We're evaluating various options to achieve TLL/expiry. But this is quite hard to pull off in a distributed environment, and so we did not settle…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@anthonyolazabal
Comment options

@timvisee
Comment options

Answer selected by anthonyolazabal
@anthonyolazabal
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants