The size of the collection decreased after the index was created. #39257
-
We loaded 3.3 kk items into the collection, and then created an IVF_FLAT index in it (COSINE, nlist:512). After that, the collection size decreased by 500k items and became 2.7kk. At the same time, I saw such messages in the Index Node logs:
How can we explain the decrease in the collection after creating the index? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
did you have duplicate primary key? |
Beta Was this translation helpful? Give feedback.
-
Yes, there were duplicates in the primary key. Thanks for the tip. |
Beta Was this translation helpful? Give feedback.
did you have duplicate primary key?