Skip to main content

Vector Index

Vector indexes in Databend enable efficient similarity search on high-dimensional vector data using the HNSW (Hierarchical Navigable Small World) algorithm. They support use cases like semantic search, recommendation systems, and AI applications.

Key Feature: Automatic Index Generation

Vector indexes are automatically built as data is written. When you insert or load data into a table with a Vector index, the index is generated automatically without manual intervention. You only need to run REFRESH VECTOR INDEX if you create an index on a table that already contains data.

Vector Index Management

CommandDescription
CREATE VECTOR INDEXCreates a new Vector index for efficient similarity search
REFRESH VECTOR INDEXBuilds index for data that existed before index creation
DROP VECTOR INDEXRemoves a Vector index
Try Databend Cloud for FREE

Multimodal, object-storage-native warehouse for BI, vectors, search, and geo.

Snowflake-compatible SQL with automatic scaling.

Sign up and get $200 in credits.

Try it today