questions on indexing_process #39094
Replies: 1 comment
-
To make sure the 1M rows are sealed, you can call flush() after all the 1M rows are inserted.
|
Beta Was this translation helpful? Give feedback.
-
To make sure the 1M rows are sealed, you can call flush() after all the 1M rows are inserted.
|
Beta Was this translation helpful? Give feedback.
-
I have the following understanding after reading the articles:
The inserted data is stored in segments. If a segment is sealed, an index is created for it. Each index is independent of the segment.
In the background, compaction takes place, which combines smaller segments into larger ones.
I inserted 1M records, and here is the output of the describe index command:
{
'm': '16',
'ef_construct': '100',
'index_type': 'HNSW',
'metric_type': 'L2',
'field_name': 'product_embeddings',
'index_name': 'milvus_index_uuid_trail_2',
'total_rows': 990000,
'indexed_rows': 297500,
'pending_index_rows': 897500,
'state': 'Finished'
}
The insertion of 1M records took 416 seconds with batch size 2500
I have the following questions:
Beta Was this translation helpful? Give feedback.
All reactions