PASE: PostgreSQL Ultra High Dimensional Approximate Nearest Neighbor Search Extension
Similarity search has been widely used in various fields, particularly in the Alibaba ecosystem. The open source solutions to a similarity search of vectors can only support a query with a single vector, whereas real life scenarios generally require a processing of compound queries. Moreover, existing open source implementations only provide runtime libraries, which have difficulty meeting the requirements of industrial applications. To address these issues, we designed a novel scheme for extending the index type of PostgreSQL (PG) which enables a similar vector search and achieves a high performance level and strong reliability of PG. Two representative types of nearest neighbor search (NNS) algorithms are presented herein. These algorithms achieve a high performance, and afford advantages such as the support of composite queries and seamless integration of existing business data. The other NNS algorithms can be easily implemented under the proposed framework. Experiments were conducted on large datasets to illustrate the efficiency of the proposed retrieval mechanism.
SIGMOD Conference