GraphCanon updated 2w · GitHub synced 2w
Decision brief
__VectorChord__ - Scalable and disk-friendly vector search in PostgreSQL.
Good fit when
- - When you need efficient vector searches within a PostgreSQL database with compatibility to existing systems using pgvector
- - For applications requiring an all-in-one Docker image that includes multiple extensions, such as `VectorChord`, `VectorChord-bm25`, and `pg_tokenizer.rs`
Avoid when
- - If you cannot use PostgreSQL or if your application already uses another database system with specific vector search capabilities
- - When detailed customization beyond what VectorChord provides, such as deep integration with unique machine learning frameworks not natively supported by the extension, is required
Observed Jul 12, 2026 · Source: enrich:decision_facts
Verify the decision
Maintenance and security
Full trust report- Maintenance
- Very active (3d since push)
- As of 2w
- Provenance
- Not a fork · Personal account
- As of 2w
- Security (OSV)
- No lockfile
- As of 1mo
Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.
Install
cargo add VectorChord crates.ioHow it fits your stack(5)
Typed graph edges - alternatives, integrations, successors, and dependencies. Ranked by relationship type, not raw GitHub stars.
Alternative
Relationship graph
Optional deeper exploration of typed edges and category neighbours.
Similar tools
Same-category neighbours not already linked as typed edges.
Evidence and technical details
Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.
Overview
VectorChord is a vector database extension for PostgreSQL designed to provide efficient and scalable vector searches. It includes an all-in-one image with various extensions and supports creating indexes for quick retrieval.
Capability facts
- Languages
- rust
Source: github.language · Aug 2, 2026
Categories
Tags
README
Quick Start
For new users, we recommend using the Docker image to get started quickly. If you do not prefer Docker, please read installation guide for other installation methods.
docker run \
--name vectorchord-demo \
-e POSTGRES_PASSWORD=mysecretpassword \
-p 5432:5432 \
-d ghcr.io/tensorchord/vchord-postgres:pg18-v1.1.1
[!NOTE] In addition to the base image with the VectorChord extension, we provide an all-in-one image,
tensorchord/vchord-suite:pg17-latest. This comprehensive image includes all official TensorChord extensions, includingVectorChord,VectorChord-bm25andpg_tokenizer.rs. Developers should select an image tag that is compatible with their extension's version, as indicated in the support matrix.
Then you can connect to the database using the psql command line tool. The default username is postgres, and the default password is mysecretpassword.
psql -h localhost -p 5432 -U postgres
Now you can play with VectorChord!
VectorChord depends on pgvector, including the vector representation. Since you can use them directly, your application can be easily migrated without pain!
CREATE EXTENSION IF NOT EXISTS vchord CASCADE;
Similar to pgvector, you can create a table with vector column and insert some rows to it.
CREATE TABLE items (id bigserial PRIMARY KEY, embedding vector(3));
INSERT INTO items (embedding) SELECT ARRAY[random(), random(), random()]::real[] FROM generate_series(1, 1000);
With VectorChord, you can create vchordrq indexes.
CREATE INDEX ON items USING vchordrq (embedding vector_l2_ops);
And then perform a vector search using SELECT ... ORDER BY ... LIMIT ....
SELECT * FROM items ORDER BY embedding <-> '[3,1,2]' LIMIT 5;
For more usage, please read:
- Indexing
- Multi-Vector Retrieval
- Quantization Types
- Graph Index
- Quantization Types
- Similarity Filter
- PostgreSQL Tuning
- Monitoring
- Fallback Parameters
- Measure Recall
- Prewarm
- Prefilter
- Prefetch
- Rerank in Table
- Partitioning Tuning
- External Build
License
This software is licensed under a dual license model:
-
GNU Affero General Public License v3 (AGPLv3): You may use, modify, and distribute this software under the terms of the AGPLv3.
-
Elastic License v2 (ELv2): You may also use, modify, and distribute this software under the Elastic License v2, which has specific restrictions.
You may choose either license based on your needs. We welcome any commercial collaboration or support, so please email us vectorchord-inquiry@tensorchord.ai with any questions or requests regarding the licenses.
For agents
This page has a .md twin and JSON over the API.