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 OceanBase AI Database and provides brief descriptions.
Subprogram |
Description |
|---|---|
| REBUILD_INDEX | Rebuild the vector index. |
| ALTER_INDEX_PARAMS | Online modification of HNSW series vector index parameters, if construction parameters are modified, triggers asynchronous partition-level rebuilding. |
| 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. |
| TRIGGER_ASYNC_TASK | Manually create a background task for a vector index of the specified type. |
References
- For more information about the principles of baseline, incremental segment, minor compaction, and major compaction of HNSW vector indexes, see Indexes.
- For configurations related to vector index memory and segment merging, see Vector index memory management.