explain_similarity_query
Run EXPLAIN ANALYZE on a similarity query to confirm that an ANN index is utilized, ensuring optimal vector search performance.
Instructions
Run EXPLAIN ANALYZE on a similarity query to confirm an ANN index is used.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| table | Yes | ||
| metric | No | cosine | |
| schema | No | public | |
| query_embedding | Yes | ||
| embedding_column | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |