A Comparative Analysis of Vector Indexing Techniques in PostgreSQL
A Comparative Analysis of Vector Indexing Techniques in PostgreSQL
Presented by:
Abhijeet Rajurkar
Abhijeet is a Database Practice lead for APAC based in Singapore for Google Cloud. He has extensive experience in database and is passionate about improving the developer experience, Migrations , and performance troubleshooting. Abhijeet has previous experience of working on databases for more than 25 years and now is a built his expertise in PostgreSQL .
Checkout the slides
Synopsis: This paper provides insights into the performance characteristics of IVF-HNSW, IVFFlat, and SCAAN indexing techniques for vector data in PostgreSQL. By understanding the trade-offs in accuracy, speed, and resource consumption, users can select the optimal indexing strategy for their specific application needs. In this session we also talk about a comparative analysis of three leading vector index types—IVF-HNSW, IVFFlat, and SCAAN—within the PostgreSQL database for efficient high-dimensional data retrieval.
Details:
The increasing use of vector embeddings for representing high-dimensional data in applications such as NLP, image retrieval, and recommendation systems has led to a demand for efficient vector indexing techniques. PostgreSQL, a popular relational database, is incorporating support for various vector indexing methods, enabling rapid Approximate Nearest Neighbor (ANN) searches.
Postgres as a vector database grows in importance for applications like AI, machine learning, and recommendation systems, optimizing search performance is critical. We evaluate these three index type across multiple dimensions: search accuracy, query latency and scalability. Our findings highlight the strengths and weaknesses of each approach, offering guidelines for selecting the appropriate index based on specific application requirements.
- Date:
- 2025 March 6 - 15:30
- Duration:
- 45 min
- Room:
- Jupiter
- Conference:
- PGConf India, 2025
- Language:
- Track:
- Database Administration
- Difficulty:
- Medium
- Modern SQL features in PostgreSQL that can transform the way we develop database applications
- Start Time:
- 2025 March 6 15:30
- Room:
- Grand Ballroom 2
- Beginner's guide to PostgreSQL Hacking
- Start Time:
- 2025 March 6 15:30
- Room:
- Grand Ballroom 1
- Platinum Sponsor Hall by IITM Pravartak
- Start Time:
- 2025 March 6 15:30
- Room:
- Neptune