The DBMS_VECTOR system package is used to manage vector indexes.
Overview of DBMS_VECTOR Subprograms
The following table lists the DBMS_VECTOR subprograms supported by the current version of OceanBase Database and provides brief descriptions.
Subprogram |
Description |
|---|---|
| REBUILD_INDEX | Rebuild vector indexes. |
| INDEX_VECTOR_MEMORY_ESTIMATE | Estimates the memory usage of vector indexes. |
| INDEX_VECTOR_MEMORY_ADVISOR | Vector index memory usage analysis. |
| FLUSH_INDEX | Manually force the triggering of a minor compaction task. |
| COMPACT_INDEX | Manually force the trigger of a major compaction task. |
| SET_ATTRIBUTE | Set the degree of parallelism, trigger threshold, and trigger cycle for automatic rebuilding of vector indexes. |
| INDEX_RECALL | Calculate the recall rate for a specified vector index. |
| QUERY_RECALL | Calculate the vector index recall rate for a specified SQL query. |
References
- For more information about the principles of baseline, incremental segment, minor compaction, and major compaction for HNSW vector indexes, see Vector index principle.
- For configurations related to vector index memory and segment merging, see Vector index memory management.