nlist set number #35858
Replies: 1 comment
-
In each segment, data is stored as chunks, each chunk is a separate file in s3. Chunk is invisible to users, it is for managing the data in storage. nlist:128 is for interimIndex. Interim index is a temp index for quickly search in growing segment. So, nlist:128 is for a growing segment, not for a chunk. Since the row number of a growing segment could continually increase, no need to use sqrt(segmentRows) to calculate the nlist. A const nlist value is ok. |
Beta Was this translation helpful? Give feedback.
-
i noticed that in ./condifs/milvus.yaml, the nlist set is
nlist: 128 # temp index nlist, recommend to set sqrt(chunkRows), must smaller than chunkRows/8
but numchunkRows set is chunkRows: 128 # Row count by which Segcore divides a segment into chunks.
In my understanding,sqrt(chunkRows) is not same as numchunkRows, first chunkRows means the all numbers of insert rows,and numchunkRows means how many chunk we should divide segment into.
Am I right?
Beta Was this translation helpful? Give feedback.
All reactions