I’m realizing that metadata does affect the storage capacity of the pod.
That is 100% true for the values. But what about the keys?
Would it make a difference if I name the key ‘a’ instead of ‘page_uuid’, for example?
Thanks
I’m realizing that metadata does affect the storage capacity of the pod.
That is 100% true for the values. But what about the keys?
Would it make a difference if I name the key ‘a’ instead of ‘page_uuid’, for example?
Thanks
Hello and welcome to the community forums @marouen!
To answer your question, yes, the key’s length contributes to the metadata’s overall size.
Regarding your example, renaming your metadata key from page_uuid
to a
saves you 8 bytes. For a million entries, that’s less than 8 MB. So at the current $0.33/GB/mo price, you’ll save less than $0,002 per million vectors per month. Not sure if that’s worth the obfuscation
One use case where that may make sense is when your current metadata per vector is slightly over the 40KB limit. In such a case, reducing the keys’ lengths may be a way to fit within the limit (especially if you have many long keys).