๊ฐ€์ž… ํ›„ ์ดˆ๋Œ€ ๋งํฌ๋ฅผ ๊ณต์œ ํ•˜๋ฉด ๋™์˜์ƒ ์žฌ์ƒ ๋ฐ ์ดˆ๋Œ€ ๋ณด์ƒ์„ ๋ฐ›์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

cv usk
@cv_usk
AI / Software Research Notes AI Agent, LLMOps, MLOps, Software Architecture ๆŠ•็จฟใฏๅ€‹ไบบใฎๆ„่ฆ‹ใงใ™ใ€‚
๊ฐ€์ž… May 2026
286 ํŒ”๋กœ์ž‰ ์ค‘    470 ํŒฌ
Struggling with pgvector's HNSW returning fewer results under filters, or with heavy indexes? Title: Introducing pg_pinecone: Open-Source Search for Your Postgres Data URL: ๐Ÿ˜ Overview An Apache 2.0 open-source Postgres extension. It adds vector search powered by Pinecone's search engine to your existing pgvector columns. It runs inside the database, so your data never leaves Postgres. โ“ Problem HNSW needs more memory and build time as data grows, and filtered searches, such as per tenant, can return fewer results than requested. ๐Ÿงฉ Approach Instead of a graph, it uses IVF with RaBitQ codes (about 1 bit per dimension) and searches in three steps: probe nearby clusters, estimate distances from the codes, then rerank with full vectors. Filters matching 3% of rows or fewer use exact pre-filtering; wider ones are checked inside each cluster. Beyond the native engine, which needs no API key, you can add remote, embed(), BM25 and rerank(). ๐Ÿ“Š Results (vendor-reported) On 1M vectors with 768 dimensions: ใƒป1.27 ms latency at 0.95 recall (HNSW halfvec: 1.71 ms) ใƒป136 MB index size (HNSW halfvec: 2.0 GB) ใƒป1% filter: 0.981 recall at 8.3 ms (HNSW halfvec: 0.924 at 56 ms) These come from one dataset and one setup, and large bulk loads need a REINDEX. #Postgres# #VectorSearch#
๋” ๋ณด๊ธฐ