-
Notifications
You must be signed in to change notification settings - Fork 409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Storage: Support multiple vec indexes on the same column #9469
Storage: Support multiple vec indexes on the same column #9469
Conversation
Signed-off-by: Lloyd-Pottiger <[email protected]>
When would |
In the beta implementation Vector Search Index(Beta), we support adding vector index by comment. That kind of vector index is created along with column_id and no index_id. For backward compatibility, we define the index_id==0 for those indexes. And in the cse branch, those indexes still workable for a period of time. |
https://github.com/pingcap/tidb/blob/9dff38ba98405422cb0eb15993f385efe9068b47/pkg/meta/model/index.go#L26 Follow tidb. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JaySon-Huang, JinheLin The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
290972e
into
pingcap:feature/vector-index
What problem does this PR solve?
Issue Number: ref #9032
Problem Summary:
What is changed and how it works?
ColumnStat.vector_index
fromstd::optional<dtpb::VectorIndexFileProps> vector_index
tostd::vector<dtpb::VectorIndexFileProps>
DMFileIndexWriter.cpp
supports saving multiple vector index with different index_iddtpb::VectorIndexFileProps
instead ofColumnStat.index_bytes
Check List
Tests
Side effects
Documentation
Release note