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 in the current version of OceanBase Database and their brief descriptions.
| Subprogram | Description |
|---|---|
| REFRESH_INDEX | Refreshes the vector index. |
| REBUILD_INDEX | Rebuilds the vector index. |
| INDEX_VECTOR_MEMORY_ESTIMATE | Estimates the memory usage of the vector index. |
| INDEX_VECTOR_MEMORY_ADVISOR | Analyzes the memory usage of the vector index. |
| FLUSH_INDEX | Manually triggers the flush task. |
| COMPACT_INDEX | Manually triggers the major compaction task. |
References
- For more information about the principles of HNSW vector indexes, including baseline, incremental segments, flush, and major compaction, see Principles of vector indexes.
- For more information about the configuration of vector index memory and segment compaction, see Vector index memory management.
