retrieval augmented generation

DISTANCE() and VECTOR_DISTANCE(): Vector Similarity in Percona Server for MySQL 9.7

Percona.com·September 21, 2026

TL;DR Percona Server for MySQL 9.7.2-2 now supports DISTANCE() for vector similarity scoring directly in SQL (COSINE, EUCLIDEAN, MANHATTAN, DOT metrics). This is the compute primitive you need to rank or filter embeddings by similarity directly in SQL. ANN indexing (e.g. HNSW, IVF) is the next milestone for fast large-scale similarity search; and this function provides … Continued

This article was sourced from Percona.com. Read the full article at the original publisher.

Read full article at Percona.com →
Abstract AI visualization

Go deeper into AI

The news covers what is happening now. The courses cover how it all works. Start learning with an AI guide and build a real foundation in agentic AI.