pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: Tibiritabara (@Tibiritabara) <noreply+Tibiritabara@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #719: SELECT WHERE ORDER BY LIMIT no results
Date: Tue, 04 Feb 2025 14:12:55 +0000
Message-ID: <gh-pgvector-pgvector-719-c2634090022@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-719@github.com>
References: <gh-pgvector-pgvector-719@github.com>

So, I have been able to test these settings locally. I currently have a table with vector and sparse embeddings of more than 40k records. As pointed out earlier, I was doing JSONB filtering and currently using v0.8.0. 

After extensive testing, I was able to single out the `iterative_scan` as the most meaningful setting. When is on `strict_order`, the query still takes more than 10 secs for its execution. When using `relaxed_order` I see huge reduction in execution time, down to 600ms. 

This is inline with the contents of your presentation @jkatz , but I need to point out, despite using BTREE and GIN indexes on my metadata, and other filtering attributes, the performance remains poor, unless the `iterative_scan` changes ,and I use the HNSW indexes 

view thread (31+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-719-c2634090022@github.com>
Permalink:  ../gh-pgvector-pgvector-719-c2634090022@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox