Skip to content

[Bug]: vector index benchmark performance is lower than pgvector  #15191

@heni02

Description

@heni02

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

main

Commit ID

b85d757

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

mo vs pgvector vector index benchmark test result:
image
and also see file:https://doc.weixin.qq.com/sheet/e3_AYYAgwazACsB4L72hnoQ1eAEU31N6?scode=AJsA6gc3AA8QPAY9JuAYYAgwazACs

from the test data, the following performance issues have been summarized:

  1. Comparison of query performance with and without index: mo almost has no difference QPS in sift 128dim 1million query with and without index, but there is a 6 times difference in PGvector between the two; The indexed performance of mo 960dim is significantly better than that without indexes

  2. QPS performance comparison: sift 128dim and gist960 1million, Mo recall is basically same as pgvector, but QPS is 30-40 times lower than pgvector

  3. Performance impact of different lists: Mo index recall which lists=500 is lower than lists=1000, but there is no significant improvement in QPS. However, pgvector QPS which lists=1000 is significantly better than lists=500

  4. Index creation performance: Sift 128 1million mo takes 10 times longer to create an index than pgvector; Gist 960 1million mo takes 25 times longer to create an index than pgvector

Expected Behavior

No response

Steps to Reproduce

1.use benchmark tool: git clone -b sift128 https://github.com/arjunsk/mo-benchmark-test.git
2.run benchmark tool with sift128dim and gist960dim dataset

Additional information

No response

Metadata

Metadata

Assignees

Labels

area/aimo ai and vector embedding related tasksarea/performancekind/bugSomething isn't workingphase/testingseverity/s1High impact: Logical errors or data errors that must occur

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions