RAG & Knowledge BasesProduction
pgvector
pgvector / pgvector
A Postgres extension that adds vector columns, distance operators and HNSW or IVFFlat indexes, keeping vector search next to business data.
Why choose it
- One database for relational and vector data.
- Transactions and permissions reuse Postgres.
- HNSW and IVFFlat indexes are supported.
Not for
You need a dedicated vector database at very large scale.
Your Postgres instance cannot be extended.
Minimum setup
- Create a vector column and insert 10k rows.
- Build an HNSW index and compare recall and latency.
- Test a filtered query that combines SQL and vector distance.
Dependencies and cost
Check runtime, model weights and external service dependencies in the README.
License and usage boundaries
Code is NOASSERTION; model weights, training data and generated content may have separate terms — check each before commercial use.
Open source is not automatically commercial-use friendly: GPL / AGPL are copyleft; code, model and output licenses are separate. Read the LICENSE and model card before launch, and involve legal when needed.
Alternatives and neighbors
- LanceDB — Local-first,An embedded multimodal vector database with a Rust core and Python/JavaScript SDKs, built on Lance columnar storage with vector, full-text, SQL filtering and versioning.
- Qdrant — Production,A Rust vector database with filtering, hybrid search, distributed deployment and quantisation.
- Milvus — Scale / performance,A distributed vector database for large-scale retrieval, supporting HNSW, IVF, DiskANN, scalar filtering and multi-tenancy.
Next steps
- Open GitHub and read the README, LICENSE, latest release and issues first.
- Make an onboarding checklist for deployment dependencies, VRAM, data, network and permissions.
- Run a small sample first, then decide on production; never start with production data.
Snapshot: stars / forks / language / license / pushed_at come from the GitHub API snapshot on 2026-11-20; later changes are not written back. Tags and “fit / not fit” are editorial judgments, not GitHub metadata.
No endorsement: this site only indexes and flags risks; it does not audit code, guarantee security or make license decisions for you. Review repository scripts and model weights yourself.