What is our primary use case?
Supabase Vector serves as the retrieval layer in my RAG application, where we store embeddings of our documentation. When a user asks, 'How do I reset my password?' we generate an embedding for the query and perform a similarity search in Supabase Vector to retrieve the most relevant documentation, passing that context to the LLM for an accurate response. This is primarily for an AI knowledge base, and while there are different use cases, this is the most common one.
In my workflow, Supabase Vector acts as the semantic retrieval layer. When new documents or product descriptions are added, I generate embeddings using an embedding model and store them in Supabase Vector along with the original data. When a user submits a natural language query, I generate an embedding for that query, perform a similarity search in Supabase Vector to retrieve the most relevant records, and then pass those results to the particular LLM, ensuring the model answers based on our own data rather than relying solely on its pre-trained knowledge. This workflow is primarily related to the RAG application.
What is most valuable?
Supabase Vector offers many good features, beginning with semantic search. Another excellent feature is the integration of SQL with vector search, making it great for RAG, scalable indexing, and a simpler architecture. These are the main best features I find in Supabase Vector.
The SQL plus vector search combination has helped me significantly because it is easy to set up with PostgreSQL as it removes the need to choose between structured filtering and semantic search. By using both together in one query pipeline, vector search is smart, but not precise enough alone. Therefore, combining SQL for filtering first, and then applying vector search on the filtered set enhances the relevance, eliminating AI hallucinations and improving user intent handling.
Additionally, a key feature worth mentioning is recommendation systems. For instance, if a user says, 'Sweet vanilla perfume for winter,' SQL filters that database for winter and unisex requests, while the vector search finds vanilla-based scents with warm, sweet profiles, combining both signals effectively.
Supabase Vector positively impacts my organization through major improvements in search relevance, faster development speed, a simpler architecture, and reduced engineering overhead, with better performance in real queries due to the hybrid SQL plus vector search. This results in faster response times, lower database load, and more predictable queries, which together create practical metric improvements.
What needs improvement?
There are a couple of minor improvements I suggest regarding Supabase Vector, such as enhancing built-in hybrid search support, which currently requires manual query writing and ranking logic management. A natively integrated hybrid ranking system would greatly improve functionality, alongside better large-scale performance tuning, automated indexing, and improved observability tools.
Regarding documentation improvement, the current Supabase Vector documentation serves basic setup and simple examples well, but it could be enhanced with more end-to-end production architectures, real-world patterns, and better examples of large-scale applications such as hybrid search re-ranking pipelines.
As for additional improvements, better query debugging tools and built-in evaluation toolkits for vector search would be incredibly helpful for developers, as would an automatic embedding refresh detection feature.
For how long have I used the solution?
I have been using Supabase Vector for the past year, and I have used it for most of my work which aligns with the Vector DB, particularly when I want to handle anything related to RAG.
What do I think about the stability of the solution?
Overall, Supabase Vector exhibits high stability despite occasional performance variability under load, and while it scales well for small to medium workloads, achieving the best performance at higher scales depends largely on optimization of queries and indexes.
What do I think about the scalability of the solution?
My experience with Supabase Vector's performance at scale indicates that it operates excellently at small scales, but as we move toward larger scales, such as multi-million vectors, it requires careful engineering to maintain predictable performance, with challenges such as query plan complexity and latency variance.
How are customer service and support?
We have not had any interaction with Supabase support, as we have not faced any issues that required us to raise a ticket.
Which solution did I use previously and why did I switch?
Before adopting Supabase Vector, we used a separate vector database solution, such as Pinecone, which introduced complications with data synchronization and increased latency due to the need for maintenance of sync jobs and additional compute resources, driving our decision to switch.
How was the initial setup?
Integrating Supabase Vector into our existing systems is not complex; it was relatively straightforward due to its direct build on PostgreSQL, fitting naturally into our workflows without needing a separate vector service setup.
The most challenging part of implementing Supabase Vector was designing an effective embedding strategy, as that presents difficulties common to all vector databases. Additionally, chunking and structuring data for heavy use cases posed challenges, particularly around embedding consistency during product data updates.
What about the implementation team?
I am not certain how Supabase Vector resources got allocated since we have a dedicated team handling purchases, and they may have acquired them from the AWS Marketplace or another available marketplace.
What was our ROI?
I have seen a return on investment from using Supabase Vector, particularly through reduced development efforts, improved search efficiency, and better user engagement outcomes. The impact includes faster feature delivery and lower infrastructure costs.
We notice significant improvements when measuring metrics such as average response times, which have shifted from 800 milliseconds to 2.5 seconds down to around 200 milliseconds to 800 milliseconds, with click-through rates for recommendations improving by 45 to 70%. Additionally, search refinement has reduced redundant searches by 20 to 35%, and recommendation accuracy has improved typically by 25 to 60% for top results.
What's my experience with pricing, setup cost, and licensing?
I do not have all the specific data on pricing and licensing since we are not responsible for those decisions, but I know that Supabase Vector does not have a separate licensing model, and the pricing is primarily based on the overarching Supabase database tiers.
Which other solutions did I evaluate?
We evaluated options such as Pinecone, which is a leading managed vector database recognized for strong performance and production-readiness. However, we did not choose it because the separate system management introduced data synchronization complexities and additional costs.
When selecting Supabase Vector over other solutions, the main criteria were simplicity in architecture, tight integration with relational data through SQL plus vector capabilities, strong security and governance features, and faster development speed.
What other advice do I have?
My advice for others considering Supabase Vector is to start simple and avoid over-architecting early on. It is crucial to design your data model carefully and always use SQL filtering first before vector search to enhance results.
Overall, Supabase Vector is a good product that needs some improvements, but it has many redeeming qualities. It is easy to integrate, especially if you are already using Supabase for your database schema. I encourage others to try Supabase Vector as it proves to be a reliable tool. I would rate this product a 9 out of 10.
Which deployment model are you using for this solution?
Public Cloud
If public cloud, private cloud, or hybrid cloud, which cloud provider do you use?
Amazon Web Services (AWS)