pgvector
Vector databasepgvector
PostgreSQL extension storing vectors in tables, exact search by default with optional HNSW and IVFFlat indexes.
- Provider
- default
- Kind
- Vector database
- Category
- Data
- Official docs
- https://github.com/pgvector/pgvector
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| annIndex | enum | none | hnsw | ivfflat | no | none | inherited |
| dimensions | integer | — | no | — | inherited |
| distanceMetric | enum | cosine | euclidean | dot-product | no | — | inherited |
| hybridSearch | boolean | — | no | false | inherited |
| indexType | enum | flat | hnsw | ivf | disk-ann | lsh | no | — | ▸ flat |
| managed | boolean | — | no | false | ▸ false |
| maxDimensions | integer | — | no | 16000 | inherited |
| metadataFiltering | boolean | — | no | false | ▸ true |
| namespaces | boolean | — | no | false | inherited |
| quantization | enum | none | scalar | product | binary | no | none | ▸ none |
| replicas | integer | — | no | — | inherited |
| vectorType | enum | vector | halfvec | bit | sparsevec | no | vector | inherited |
Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.
No rule reads this kind yet. That is a gap, not a guarantee.
nodes:
- { id: "pgvector", component: "pgvector" }Alibaba Cloud Milvusalibaba-milvusAmazon S3 Vectorsaws-s3-vectorsAgent Memorycloudflare-agent-memoryCloudflare Vectorizecloudflare-vectorizeChromachromaDeep LakedeeplakeEpsillaepsillaKDB.AIkdb-aiLanceDBlancedbMarqomarqoMilvusmilvusMyScalemyscalepgvectorscalepgvectorscalePineconepineconeQdrantqdrantturbopufferturbopufferValdvaldGeneric vector databasevector-databaseVespa Cloudvespa-cloudWeaviateweaviateZilliz Cloudzilliz-cloudDigitalOcean Vector Databasesdigitalocean-vector-databaseVertex AI Vector Searchgoogle-vertex-ai-vector-search
# yaml-language-server: $schema=../../schema/component.schema.json # pgvector: PostgreSQL extension storing vectors in ordinary tables. README: exact nearest neighbour # search with perfect recall is the default, HNSW and IVFFlat indexes are opt-in; L2, inner product, # cosine, L1, Hamming and Jaccard operators; vector and halfvec hold up to 16000 dimensions. schemaVersion: "1" type: "component" id: "pgvector" kind: "vector-database" provider: "default" docs: "https://github.com/pgvector/pgvector" defaults: indexType: "flat" quantization: "none" metadataFiltering: true managed: false properties: annIndex: type: "enum" values: ["none", "hnsw", "ivfflat"] default: "none" vectorType: type: "enum" values: ["vector", "halfvec", "bit", "sparsevec"] default: "vector" maxDimensions: type: "integer" default: 16000