GET_INDEX_STATUS
Use the GET_INDEX_STATUS procedure to query the status of a vector index creation.
Syntax
DBMS_VECTOR.GET_INDEX_STATUS ('USER_NAME','INDEX_NAME');
USER_NAME
Specify the user name of the vector index owner.
INDEX_NAME
Specify the name of the vector index. You can query the index creation status for both Hierarchical Navigable Small World (HNSW) indexes and Inverted File Flat (IVF) indexes.
Usage Notes
-
You can use the
GET_INDEX_STATUSprocedure only during a vector index creation. -
The
Percentagevalue is shown in the output only for Hierarchical Navigable Small World (HNSW) indexes (and not for Inverted File Flat (IVF) indexes). -
Along with the
DB_DEVELOPER_ROLEprivilege, you must have read access to theVECSYS.VECTOR$INDEX$BUILD$table. -
You can use the following query to view all auxiliary tables:
select IDX_AUXILIARY_TABLES from vecsys.vector$index;-
For HNSW indexes:
rowid_vid_mapstores the mapping between a row ID and vector ID.shared_journal_change_logstores the DML changes that are yet to be incorporated into an HNSW graph. -
For IVF indexes:
centroidsstores the location for each centroid.centroid_partitionsstores the best centroid for each vector.
-
-
The possible values of
Stagefor HNSW vector indexes are:Value Description HNSW Index InitializationInitialization phase for the HNSW vector index creation
HNSW Index Auxiliary Tables CreationCreation of the internal auxiliary tables for the HNSW Neighbor Graph vector index
HNSW Index Graph AllocationAllocation of memory from the vector memory pool for the HNSW graph
HNSW Index Loading VectorsLoading of the base table vectors into the vector pool memory
HNSW Index Graph ConstructionCreation of the multi-layered HNSW graph with the previously loaded vectors
HNSW Index Creation CompletedHNSW vector index creation finished
-
The possible values of
Stagefor IVF vector indexes are:Value Description IVF Index InitializationInitialization phase for the IVF vector index creation
IVF Index Centroids CreationThe K-means clustering phase that computes the cluster centroids on a sample of base table vectors
IVF Index Centroid Partitions CreationCentroids assignment phase for the base table vectors
IVF Index Creation CompletedIVF vector index creation completed
Example
exec DBMS_VECTOR.GET_INDEX_STATUS('VECTOR_USER','VIDX_HNSW');
Index objn: 74745
Stage: HNSW Index Loading Vectors
Percentage: 80%Parent topic: DBMS_VECTOR