Skip to content

vector_recall

Faiss vector-index creation, training and search for Greenplum.

gpdb-faiss-vector · Faiss vector-index creation, training and search for Greenplum.

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
102070vector_recallgpdb-faiss-vector0.1.0RAGMITC

Usage

Sources:

vector_recall integrates Faiss into Greenplum. Serialized indexes are stored as BYTEA; SQL functions create, train, add vectors and perform top-k or range searches. This is a Greenplum extension, with no stock PostgreSQL compatibility claim.

Core Workflow

CREATE EXTENSION vector_recall;
SELECT faiss_index_create(3, 'Flat', 1);

Operational Boundaries

The shared library and Faiss runtime must match the Greenplum deployment. Installation is privileged; the control does not require preload. Training and insertion return an updated serialized index, which callers must store. Search can cache deserialized indexes by a caller-supplied key: use keys that track index revisions. Cache reset/prune/charge functions and a top-k merge helper are provided. Serialized index input and server resources need to be trusted and bounded; upstream benchmarks do not establish workload guarantees.

Table reader