pgvector is an open-source PostgreSQL extension that equips PostgreSQL databases with vector data storage, indexing, and similarity search capabilities—ideal for embeddings-based applications like semantic search and recommendations. You can add an index to use approximate nearest neighbor search, which trades some recall for speed. Unlike typical indexes, you will see different results for queries after adding an approximate index. An HNSW index creates a multilayer graph. It has better query performance than IVFFlat (in terms of speed-recall tradeoff), but has slower build times and uses more memory. Also, an index can be created without any data in the table since there isn’t a training step like IVFFlat.

Features

  • Native vector data type support for high-dimensional embeddings
  • Exact nearest-neighbor similarity search out-of-the-box
  • Supports approximate search via HNSW and IVFFlat indexes
  • Compatible with multiple distance metrics (L2, cosine, inner product, L1, Hamming, Jaccard)
  • Fully integrated with PostgreSQL features—ACID compliance, joins, recovery, and query planner
  • No separate vector database is needed; remains within existing PostgreSQL infrastructure

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow pgvector

pgvector Web Site

Other Useful Business Software
Shoplogix Smart Factory Platform Icon
Shoplogix Smart Factory Platform

For manufacturers looking for a powerful Manufacturing Execution solution

Real-time Visibility into Your Shop Floor's Performance. The Shoplogix smart factory platform enables manufacturers to increase overall equipment effectiveness, reduce operational costs, sustain growth and improve profitability by allowing them to visualize, integrate and act on production and machine performance in real-time. Manufacturers that trust us to drive efficiency in their factories. Real-time visual data and analytics provide valuable insights to make better informed decisions. Uncover hidden shop floor potential and drive rapid time to value. Develop a continuously improving culture through training, education and data-driven decisions. Compete in the i4.0 world by making the Shoplogix Smart Factory Platform the cornerstone of your digital transformation. Connect to any equipment or device to automate data collection and exchange it with other manufacturing technologies. Automatically monitor, report and analyze machine states to track real-time production.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of pgvector!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

C

Related Categories

C Vector Search Engines, C Semantic Search Tool

Registered

2025-08-12