4 ms·
Why do you use pgvector instead of pgANN? My understanding is pgANN is built with FAISS. When I compared pgvector with FAISS, pgvector was 3-5x slower. https:/
by itake 4y ago
Why do you use pgvector instead of pgANN? My understanding is pgANN is built with FAISS. When I compared pgvector with FAISS, pgvector was 3-5x slower.
https://github.com/netrasys/pgANN https://github.com/netrasys/pgANN
- extesy 4y agoIf I understand correctly, pgAnn is using a standard "cube" extension: https://github.com/netrasys/pgANN#setup https://github.com/netrasys/pgANN#setup
- arecurrence 4y agoThere is certainly a wide variety of problems today for which pgvector is unsuitable due to performance limitations... but fear not! This is an area that is getting significant focus right now. A marqo.ai dev is currently working on adding HNSW-IVF and HNSW support https://news.ycombinator.com/item?id=35551684 https://news.ycombinator.com/item?id=35551684 and the maintainer has recently noted that they are actively working on an IVFPQ/ScaNN implementation https://github.com/pgvector/pgvector/issues/93 https://github.com/pgvector/pgvector/issues/93 The pgAnn creator actually asked about performance a month ago here https://github.com/pgvector/pgvector/issues/58 https://github.com/pgvector/pgvector/issues/58 Expect to see performance improve dramatically later this year.