vectorscale
vectorscale
Advanced indexing for vector data with DiskANN
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 1820 | vectorscale | pgvectorscale | 0.8.0 | RAG | PostgreSQL | Rust |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
--s-d-- | No | Yes | No | Yes | no | no |
| Relationships | |
|---|---|
| Requires | vector |
| See Also | vchord vectorize pg_summarize pg_tiktoken pg4ml pgml vchord_bm25 pg_similarity |
not an official release tag
Packages
| Type | Repo | Version | PG Major Availability | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EL | PIGSTY | 0.8.0 | 18 17 16 15 14 13 | pgvectorscale_$v | pgvector_$v |
| Debian | PIGSTY | 0.8.0 | 18 17 16 15 14 13 | postgresql-$v-pgvectorscale | postgresql-$v-pgvector |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 | PG13 |
|---|---|---|---|---|---|---|
el8.x86_64 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 |
el8.aarch64 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 |
el9.x86_64 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 |
el9.aarch64 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 |
el10.x86_64 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 |
el10.aarch64 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 |
d12.x86_64 | MISS | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 |
d12.aarch64 | MISS | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 |
d13.x86_64 | MISS | MISS | MISS | MISS | MISS | MISS |
d13.aarch64 | MISS | MISS | MISS | MISS | MISS | MISS |
u22.x86_64 | MISS | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 |
u22.aarch64 | MISS | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 |
u24.x86_64 | MISS | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 |
u24.aarch64 | MISS | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 | PIGSTY 0.8.0 |
| Package | Version | OS | ORG | SIZE | File URL |
|---|---|---|---|---|---|
pgvectorscale_18 | 0.8.0 | el8.x86_64 | pigsty | 503.9 KiB | pgvectorscale_18-0.8.0-2PIGSTY.el8.x86_64.rpm |
pgvectorscale_18 | 0.8.0 | el8.aarch64 | pigsty | 371.4 KiB | pgvectorscale_18-0.8.0-2PIGSTY.el8.aarch64.rpm |
pgvectorscale_18 | 0.8.0 | el9.x86_64 | pigsty | 520.6 KiB | pgvectorscale_18-0.8.0-2PIGSTY.el9.x86_64.rpm |
pgvectorscale_18 | 0.8.0 | el9.aarch64 | pigsty | 395.9 KiB | pgvectorscale_18-0.8.0-2PIGSTY.el9.aarch64.rpm |
pgvectorscale_18 | 0.8.0 | el10.x86_64 | pigsty | 521.1 KiB | pgvectorscale_18-0.8.0-2PIGSTY.el10.x86_64.rpm |
pgvectorscale_18 | 0.8.0 | el10.aarch64 | pigsty | 395.7 KiB | pgvectorscale_18-0.8.0-2PIGSTY.el10.aarch64.rpm |
| Package | Version | OS | ORG | SIZE | File URL |
|---|---|---|---|---|---|
pgvectorscale_17 | 0.8.0 | el8.x86_64 | pigsty | 504.1 KiB | pgvectorscale_17-0.8.0-2PIGSTY.el8.x86_64.rpm |
pgvectorscale_17 | 0.8.0 | el8.aarch64 | pigsty | 371.4 KiB | pgvectorscale_17-0.8.0-2PIGSTY.el8.aarch64.rpm |
pgvectorscale_17 | 0.8.0 | el9.x86_64 | pigsty | 520.6 KiB | pgvectorscale_17-0.8.0-2PIGSTY.el9.x86_64.rpm |
pgvectorscale_17 | 0.8.0 | el9.aarch64 | pigsty | 395.4 KiB | pgvectorscale_17-0.8.0-2PIGSTY.el9.aarch64.rpm |
pgvectorscale_17 | 0.8.0 | el10.x86_64 | pigsty | 520.4 KiB | pgvectorscale_17-0.8.0-2PIGSTY.el10.x86_64.rpm |
pgvectorscale_17 | 0.8.0 | el10.aarch64 | pigsty | 395.7 KiB | pgvectorscale_17-0.8.0-2PIGSTY.el10.aarch64.rpm |
postgresql-17-pgvectorscale | 0.8.0 | d12.x86_64 | pigsty | 327.2 KiB | postgresql-17-pgvectorscale_0.8.0-1PIGSTY~bookworm_amd64.deb |
postgresql-17-pgvectorscale | 0.8.0 | d12.aarch64 | pigsty | 280.2 KiB | postgresql-17-pgvectorscale_0.8.0-1PIGSTY~bookworm_arm64.deb |
postgresql-17-pgvectorscale | 0.8.0 | u22.x86_64 | pigsty | 360.1 KiB | postgresql-17-pgvectorscale_0.8.0-1PIGSTY~jammy_amd64.deb |
postgresql-17-pgvectorscale | 0.8.0 | u22.aarch64 | pigsty | 328.9 KiB | postgresql-17-pgvectorscale_0.8.0-1PIGSTY~jammy_arm64.deb |
postgresql-17-pgvectorscale | 0.8.0 | u24.x86_64 | pigsty | 356.9 KiB | postgresql-17-pgvectorscale_0.8.0-1PIGSTY~noble_amd64.deb |
postgresql-17-pgvectorscale | 0.8.0 | u24.aarch64 | pigsty | 325.7 KiB | postgresql-17-pgvectorscale_0.8.0-1PIGSTY~noble_arm64.deb |
| Package | Version | OS | ORG | SIZE | File URL |
|---|---|---|---|---|---|
pgvectorscale_16 | 0.8.0 | el8.x86_64 | pigsty | 504.1 KiB | pgvectorscale_16-0.8.0-2PIGSTY.el8.x86_64.rpm |
pgvectorscale_16 | 0.8.0 | el8.aarch64 | pigsty | 371.2 KiB | pgvectorscale_16-0.8.0-2PIGSTY.el8.aarch64.rpm |
pgvectorscale_16 | 0.8.0 | el9.x86_64 | pigsty | 520.9 KiB | pgvectorscale_16-0.8.0-2PIGSTY.el9.x86_64.rpm |
pgvectorscale_16 | 0.8.0 | el9.aarch64 | pigsty | 395.6 KiB | pgvectorscale_16-0.8.0-2PIGSTY.el9.aarch64.rpm |
pgvectorscale_16 | 0.8.0 | el10.x86_64 | pigsty | 521.0 KiB | pgvectorscale_16-0.8.0-2PIGSTY.el10.x86_64.rpm |
pgvectorscale_16 | 0.8.0 | el10.aarch64 | pigsty | 395.4 KiB | pgvectorscale_16-0.8.0-2PIGSTY.el10.aarch64.rpm |
postgresql-16-pgvectorscale | 0.8.0 | d12.x86_64 | pigsty | 327.2 KiB | postgresql-16-pgvectorscale_0.8.0-1PIGSTY~bookworm_amd64.deb |
postgresql-16-pgvectorscale | 0.8.0 | d12.aarch64 | pigsty | 280.0 KiB | postgresql-16-pgvectorscale_0.8.0-1PIGSTY~bookworm_arm64.deb |
postgresql-16-pgvectorscale | 0.8.0 | u22.x86_64 | pigsty | 359.7 KiB | postgresql-16-pgvectorscale_0.8.0-1PIGSTY~jammy_amd64.deb |
postgresql-16-pgvectorscale | 0.8.0 | u22.aarch64 | pigsty | 328.9 KiB | postgresql-16-pgvectorscale_0.8.0-1PIGSTY~jammy_arm64.deb |
postgresql-16-pgvectorscale | 0.8.0 | u24.x86_64 | pigsty | 356.9 KiB | postgresql-16-pgvectorscale_0.8.0-1PIGSTY~noble_amd64.deb |
postgresql-16-pgvectorscale | 0.8.0 | u24.aarch64 | pigsty | 325.5 KiB | postgresql-16-pgvectorscale_0.8.0-1PIGSTY~noble_arm64.deb |
| Package | Version | OS | ORG | SIZE | File URL |
|---|---|---|---|---|---|
pgvectorscale_15 | 0.8.0 | el8.x86_64 | pigsty | 503.9 KiB | pgvectorscale_15-0.8.0-2PIGSTY.el8.x86_64.rpm |
pgvectorscale_15 | 0.8.0 | el8.aarch64 | pigsty | 371.2 KiB | pgvectorscale_15-0.8.0-2PIGSTY.el8.aarch64.rpm |
pgvectorscale_15 | 0.8.0 | el9.x86_64 | pigsty | 520.4 KiB | pgvectorscale_15-0.8.0-2PIGSTY.el9.x86_64.rpm |
pgvectorscale_15 | 0.8.0 | el9.aarch64 | pigsty | 395.6 KiB | pgvectorscale_15-0.8.0-2PIGSTY.el9.aarch64.rpm |
pgvectorscale_15 | 0.8.0 | el10.x86_64 | pigsty | 520.4 KiB | pgvectorscale_15-0.8.0-2PIGSTY.el10.x86_64.rpm |
pgvectorscale_15 | 0.8.0 | el10.aarch64 | pigsty | 395.6 KiB | pgvectorscale_15-0.8.0-2PIGSTY.el10.aarch64.rpm |
postgresql-15-pgvectorscale | 0.8.0 | d12.x86_64 | pigsty | 327.1 KiB | postgresql-15-pgvectorscale_0.8.0-1PIGSTY~bookworm_amd64.deb |
postgresql-15-pgvectorscale | 0.8.0 | d12.aarch64 | pigsty | 280.1 KiB | postgresql-15-pgvectorscale_0.8.0-1PIGSTY~bookworm_arm64.deb |
postgresql-15-pgvectorscale | 0.8.0 | u22.x86_64 | pigsty | 360.5 KiB | postgresql-15-pgvectorscale_0.8.0-1PIGSTY~jammy_amd64.deb |
postgresql-15-pgvectorscale | 0.8.0 | u22.aarch64 | pigsty | 329.3 KiB | postgresql-15-pgvectorscale_0.8.0-1PIGSTY~jammy_arm64.deb |
postgresql-15-pgvectorscale | 0.8.0 | u24.x86_64 | pigsty | 356.8 KiB | postgresql-15-pgvectorscale_0.8.0-1PIGSTY~noble_amd64.deb |
postgresql-15-pgvectorscale | 0.8.0 | u24.aarch64 | pigsty | 325.5 KiB | postgresql-15-pgvectorscale_0.8.0-1PIGSTY~noble_arm64.deb |
| Package | Version | OS | ORG | SIZE | File URL |
|---|---|---|---|---|---|
pgvectorscale_14 | 0.8.0 | el8.x86_64 | pigsty | 503.8 KiB | pgvectorscale_14-0.8.0-2PIGSTY.el8.x86_64.rpm |
pgvectorscale_14 | 0.8.0 | el8.aarch64 | pigsty | 370.8 KiB | pgvectorscale_14-0.8.0-2PIGSTY.el8.aarch64.rpm |
pgvectorscale_14 | 0.8.0 | el9.x86_64 | pigsty | 519.5 KiB | pgvectorscale_14-0.8.0-2PIGSTY.el9.x86_64.rpm |
pgvectorscale_14 | 0.8.0 | el9.aarch64 | pigsty | 395.1 KiB | pgvectorscale_14-0.8.0-2PIGSTY.el9.aarch64.rpm |
pgvectorscale_14 | 0.8.0 | el10.x86_64 | pigsty | 520.0 KiB | pgvectorscale_14-0.8.0-2PIGSTY.el10.x86_64.rpm |
pgvectorscale_14 | 0.8.0 | el10.aarch64 | pigsty | 394.8 KiB | pgvectorscale_14-0.8.0-2PIGSTY.el10.aarch64.rpm |
postgresql-14-pgvectorscale | 0.8.0 | d12.x86_64 | pigsty | 326.9 KiB | postgresql-14-pgvectorscale_0.8.0-1PIGSTY~bookworm_amd64.deb |
postgresql-14-pgvectorscale | 0.8.0 | d12.aarch64 | pigsty | 279.9 KiB | postgresql-14-pgvectorscale_0.8.0-1PIGSTY~bookworm_arm64.deb |
postgresql-14-pgvectorscale | 0.8.0 | u22.x86_64 | pigsty | 359.9 KiB | postgresql-14-pgvectorscale_0.8.0-1PIGSTY~jammy_amd64.deb |
postgresql-14-pgvectorscale | 0.8.0 | u22.aarch64 | pigsty | 328.8 KiB | postgresql-14-pgvectorscale_0.8.0-1PIGSTY~jammy_arm64.deb |
postgresql-14-pgvectorscale | 0.8.0 | u24.x86_64 | pigsty | 356.4 KiB | postgresql-14-pgvectorscale_0.8.0-1PIGSTY~noble_amd64.deb |
postgresql-14-pgvectorscale | 0.8.0 | u24.aarch64 | pigsty | 325.0 KiB | postgresql-14-pgvectorscale_0.8.0-1PIGSTY~noble_arm64.deb |
| Package | Version | OS | ORG | SIZE | File URL |
|---|---|---|---|---|---|
pgvectorscale_13 | 0.8.0 | el8.x86_64 | pigsty | 504.4 KiB | pgvectorscale_13-0.8.0-2PIGSTY.el8.x86_64.rpm |
pgvectorscale_13 | 0.8.0 | el8.aarch64 | pigsty | 370.9 KiB | pgvectorscale_13-0.8.0-2PIGSTY.el8.aarch64.rpm |
pgvectorscale_13 | 0.8.0 | el9.x86_64 | pigsty | 520.3 KiB | pgvectorscale_13-0.8.0-2PIGSTY.el9.x86_64.rpm |
pgvectorscale_13 | 0.8.0 | el9.aarch64 | pigsty | 395.4 KiB | pgvectorscale_13-0.8.0-2PIGSTY.el9.aarch64.rpm |
pgvectorscale_13 | 0.8.0 | el10.x86_64 | pigsty | 520.3 KiB | pgvectorscale_13-0.8.0-2PIGSTY.el10.x86_64.rpm |
pgvectorscale_13 | 0.8.0 | el10.aarch64 | pigsty | 394.9 KiB | pgvectorscale_13-0.8.0-2PIGSTY.el10.aarch64.rpm |
postgresql-13-pgvectorscale | 0.8.0 | d12.x86_64 | pigsty | 326.7 KiB | postgresql-13-pgvectorscale_0.8.0-1PIGSTY~bookworm_amd64.deb |
postgresql-13-pgvectorscale | 0.8.0 | d12.aarch64 | pigsty | 279.7 KiB | postgresql-13-pgvectorscale_0.8.0-1PIGSTY~bookworm_arm64.deb |
postgresql-13-pgvectorscale | 0.8.0 | u22.x86_64 | pigsty | 360.0 KiB | postgresql-13-pgvectorscale_0.8.0-1PIGSTY~jammy_amd64.deb |
postgresql-13-pgvectorscale | 0.8.0 | u22.aarch64 | pigsty | 329.0 KiB | postgresql-13-pgvectorscale_0.8.0-1PIGSTY~jammy_arm64.deb |
postgresql-13-pgvectorscale | 0.8.0 | u24.x86_64 | pigsty | 356.2 KiB | postgresql-13-pgvectorscale_0.8.0-1PIGSTY~noble_amd64.deb |
postgresql-13-pgvectorscale | 0.8.0 | u24.aarch64 | pigsty | 324.9 KiB | postgresql-13-pgvectorscale_0.8.0-1PIGSTY~noble_arm64.deb |
Source
pig build get vectorscale; # get vectorscale source code
pig build dep vectorscale; # install build dependencies
pig build pkg vectorscale; # build extension rpm or deb
pig build ext vectorscale; # build extension rpmsInstall
To add the required PGDG / PIGSTY upstream repository, use:
pig repo add pgsql -u # add PGDG + Pigsty repo and update cache (leave existing repos)Install this extension with:
pig ext install vectorscale; # install by extension name, for the current active PG version
pig ext install pgvectorscale; # install via package alias, for the active PG version
pig ext install vectorscale -v 18; # install for PG 18
pig ext install vectorscale -v 17; # install for PG 17
pig ext install vectorscale -v 16; # install for PG 16
pig ext install vectorscale -v 15; # install for PG 15
pig ext install vectorscale -v 14; # install for PG 14
pig ext install vectorscale -v 13; # install for PG 13Create this extension with:
CREATE EXTENSION vectorscale;Usage
CREATE EXTENSION vectorscale CASCADE;
CREATE TABLE IF NOT EXISTS document_embedding (
id BIGINT PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY,
metadata JSONB,
contents TEXT,
embedding VECTOR(1536)
);
CREATE INDEX document_embedding_idx ON document_embedding
USING diskann (embedding);
SELECT *
FROM document_embedding
ORDER BY embedding <=> $1
LIMIT 10This fdw is read-only for now.
Last updated on