Is there an existing issue for the same bug?
Branch Name
main
Commit ID
94128cd
Other Environment Information
- Hardware parameters:
- OS type:
- Others:
Actual Behavior
I saw search mainly use single thread to run instead of using 64 CPUs.
The slowest part is running the table scan of the secondary index.
sql := fmt.Sprintf("SELECT `%s` FROM `%s`.`%s` WHERE `%s` = %d AND `%s` IN (%s)",
catalog.SystemSI_IVFFLAT_TblCol_Entries_pk,
tblcfg.DbName, tblcfg.EntriesTable,
catalog.SystemSI_IVFFLAT_TblCol_Entries_version,
idx.Version,
catalog.SystemSI_IVFFLAT_TblCol_Entries_id,
instr,
)
Expected Behavior
Try to use multi-threads to run distance function. Try to use the Brute-Force index with multiple threads support. pkg/vectorindex/brute-force
Steps to Reproduce
create 5 billion vector ivfflat index
with configuration
lists 7202
vector_l2_ops
and do search.
Let me know I can give you access to aws.
Additional information
No response
Is there an existing issue for the same bug?
Branch Name
main
Commit ID
94128cd
Other Environment Information
Actual Behavior
I saw search mainly use single thread to run instead of using 64 CPUs.
The slowest part is running the table scan of the secondary index.
Expected Behavior
Try to use multi-threads to run distance function. Try to use the Brute-Force index with multiple threads support. pkg/vectorindex/brute-force
Steps to Reproduce
Additional information
No response