Skip to content

Can I add a new named vector in an exist collection? #2543

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

You must be logged in to vote

At this time, it is not possible to add a new named vector to an existing collection. Nor is it possible to shard dynamically, but who knows what t he future might hold.

What about this approach: partitioning the data over two collections? Both collections would have just one vector type. One is for recent/hot data, the other is for old/cold data. You configure the hot collection to always live in RAM, and configure the cold collection to always live on disk. You may then set up some form of cron job to transfer old points from hot to cold on a daily basis. You can keep track of the age of all points by adding payload having a timestamp.

This is of course a very manual approach, but it at…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by timvisee
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