Component
core/datastore/pgvector
A vector database on the PostgreSQL engine: PostgreSQL with the pgvector extension, which adds a vector column type, distance operators and approximate nearest-neighbour indexes, so embeddings are stored beside ordinary rows and queried by similarity in SQL. The server runs the pgvector project's own image, which carries the extension, and the database the component creates has it enabled. Wire here when an application retrieves by similarity and keeps its vectors in PostgreSQL; core/datastore/postgres is the general-purpose relational store, and core/datastore/qdrant, core/datastore/weaviate and core/datastore/chroma are vector stores with APIs of their own. It presents the standard PostgreSQL wire contract (POSTGRES_USER / POSTGRES_PASSWORD / POSTGRES_DB) and exports its host, port, user, database and protocol, and an endpoint joining them into a connection URI that carries no password, so a socket selecting vector stores admits it and a consumer reaches it with a PostgreSQL client. Realized two ways, both self-hosted and both fetching nothing: reach for the Helm Recipe on Kubernetes, which synthesizes a StatefulSet with a persistent volume, and for the Compose Recipe for local development. Its Recipes are verified by their rendered output, not by a started server storing and querying vectors. RDS for PostgreSQL offers pgvector on PostgreSQL 12-19, but no setting of the database instance enables it in a database, only a CREATE EXTENSION statement, so no RDS Recipe realizes this component. Use core/datastore/postgres on its RDS Recipes, the application running CREATE EXTENSION vector in its database; vector-store sockets do not admit it, as nothing the build sees enables the extension.
출처
- 콘텐츠 다이제스트
- sha256:89f7d967c4cd85f0d2580c187330c84d304d1ad806488f725a3b698f21c3fbca
- 게시일
- 2026-11-10T10:11:02Z
- 서명 ID
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
서명
- 공식application/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:a37dcb2454ced0e154e7ad4f9950f74284503035f55d397c2dd3cf039c2c4214
이 버전의 참조
oci://hub.aggrega.ai/component/core/datastore/pgvector:1.0.0개발자 매개변수
개발자가 Aggregate에서 설정하는 값입니다.
| 이름 | 타입 | 기본값 | 필수 | 설명 |
|---|---|---|---|---|
| database | string | appdb | 아니요 | Logical database name created on startup (POSTGRES_DB), with the vector extension enabled in it. |
| user | string | appuser | 아니요 | Bootstrap superuser role created on startup (POSTGRES_USER), owner of the initial database. |
| encoding | string | — | 아니요 | Database encoding passed to initdb (e.g. UTF8). Omit to use the image default. |
| locale | string | — | 아니요 | Database locale passed to initdb (e.g. en_US.utf8). Omit to use the image default. |
| custom_config | string | — | 아니요 | Raw server configuration block (postgresql.conf format), applied as the server's configuration file in place of the image's own, so a setting it omits takes the server's built-in default. listen_addresses is the one worth naming: its built-in default accepts local connections only, so a block for a server other workloads reach sets it, for example listen_addresses = '*'. The listen port comes from infra.port; a port setting here takes precedence and moves the server off the port the component publishes. |
운영자 사이징
운영자가 환경별로 조정하는 인프라 사이징입니다.
| 이름 | 타입 | 기본값 | 필수 | 설명 |
|---|---|---|---|---|
| port | integer (min 1024, max 65535) | 5432 | 아니요 | Server listen port. Most operators should omit this and let the Recipe assign the default (5432). Every Recipe hands it to the server as its own port, so the server, its health checks and the published address all follow it. |
| engine_version | string | 0.8.7-pg18-trixie | 아니요 | Tag of the pgvector/pgvector image the Recipes run. One compound coordinate carries three parts: the extension version, the PostgreSQL major version it is built for, and the Debian release it is built on — so an operator supplies a value shaped like 0.8.7-pg18-trixie rather than a bare major version, for which the image publishes no tag. The build halts on a value naming no PostgreSQL major, or a major below 18, because the Recipes keep the data where the PostgreSQL 18 and later builds place it. |
| compute | object | — | 아니요 | — |
| storage | object | — | 아니요 | — |
| overrides | object (open) | — | 아니요 | Provider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads. |
출력 계약
이 컴포넌트가 uses 토폴로지를 통해 소비자에게 게시하는 값입니다.
| 이름 | 타입 | 기본값 | 필수 | 설명 |
|---|---|---|---|---|
| host | string | — | 예 | Address a client opens its database connection to. On Kubernetes it is the Service's DNS name, and on Compose the service name. |
| port | integer | — | 예 | TCP port the server accepts connections on. It follows the port an operator set in the Release, so a consumer reads it rather than assuming 5432. |
| user | string | — | 아니요 | Name of the login role a consumer authenticates as. The matching password arrives through the credential attached to the component, never through this contract. |
| database | string | — | 아니요 | Name of the logical database created at startup, the one the vector extension is enabled in. A consumer names it in its connection string to land in the right database rather than the server's default. |
| protocol | string | — | 아니요 | Wire protocol the published address speaks — `postgres`, so a consumer stores and queries vectors with an ordinary PostgreSQL driver. |
| endpoint | string | — | 아니요 | Connection URI of the component's database, postgresql://<user>@<host>:<port>/<database>, for a consumer that takes one address rather than its parts. It carries no password, which arrives through the credential attached to the component. The user and the database are written into it as given, so a name holding a character a URI reserves, such as @, : or /, breaks it. |
uses 소켓
이 컴포넌트가 연결에 사용하는 의존성 소켓입니다. 소켓을 통해 배선되는 모든 연결의 대상은 해당 소켓의 레이블 셀렉터를 충족해야 하며, 각 연결은 소켓이 선언한 슬롯에 첨부를 전달할 수 있습니다. 필수 슬롯은 Aggregate 또는 Release가 해당 소켓을 통해 배선하는 각 연결이 채워야 합니다.
선언된 uses 소켓이 없습니다.
첨부 슬롯
Feature가 이 컴포넌트에 첨부되는 이름 있는 바인딩 지점입니다. 슬롯의 셀렉터는 어떤 Feature가 슬롯을 채울 수 있는지를 제한하고, 슬롯의 inject 목록은 Feature의 자료를 어떻게 전달할 수 있는지를 지정합니다. 필수 슬롯은 인스턴스의 첨부 또는 그 위 범위의 첨부를 통해 모든 인스턴스에서 바인딩되어야 하며, 민감 슬롯은 비밀 자료를 처리하도록 선언됩니다. Feature는 어떤 슬롯도 선언하지 않은 이름으로 첨부될 수도 있습니다.
| 슬롯 | 셀렉터 | 필수 | 주입 | 민감 | 설명 |
|---|---|---|---|---|---|
| password | feature.aggrega.ai/kind=secret | 아니요 | env | 예 | Optional database password credential. When attached, supplies POSTGRES_PASSWORD via the credential subsystem. Unattached, compose/pgvector and helm/pgvector set POSTGRES_PASSWORD to the development literal `apppass`, which this catalog publishes, so every Release that leaves the slot unattached shares that password. |
자체 주입 허용 목록
env
관계
게시된 다른 엔터티와 주고받는 타입 지정 에지입니다. 게시된 대상이 없는 참조는 링크가 아닌 끊어진 에지로 표시됩니다.
사용함
이 엔터티는 카탈로그의 어떤 것도 사용하지 않습니다.
사용됨
소켓 «backend» 사용
소켓 «cache» 사용
소켓 «queue» 사용
소켓 «backend» 사용
소켓 «cache» 사용
소켓 «queue» 사용
소켓 «backend» 사용
소켓 «backend» 사용
소켓 «cache» 사용
소켓 «queue» 사용
소켓 «backend» 사용
소켓 «cache» 사용
소켓 «queue» 사용
소켓 «backend» 사용
소켓 «cache» 사용
소켓 «queue» 사용
소켓 «knowledge_base» 사용
소켓 «backend» 사용
소켓 «cache» 사용
소켓 «vector_store» 사용
소켓 «backend» 사용
소켓 «cache» 사용
소켓 «vector_store» 사용
소켓 «backend» 사용
소켓 «cache» 사용
소켓 «backend» 사용
소켓 «cache» 사용
소켓 «vector_store» 사용
소켓 «backend» 사용
소켓 «cache» 사용
소켓 «vector_store» 사용
소켓 «backend» 사용
소켓 «cache» 사용
소켓 «backend» 사용
소켓 «cache» 사용
소켓 «state_store» 사용
소켓 «vector_store» 사용
소켓 «vector_store» 사용
소켓 «task_memory» 사용
소켓 «document_store» 사용
소켓 «vector_store» 사용
소켓 «vector_store» 사용
소켓 «checkpointer_db» 사용
소켓 «checkpointer_db» 사용
소켓 «backend» 사용
소켓 «backend» 사용
소켓 «backend» 사용
소켓 «vector_store» 사용
소켓 «vector_store» 사용
소켓 «storage» 사용
소켓 «knowledge_base» 사용
소켓 «data_store» 사용
소켓 «metadata_store» 사용
소켓 «target_datastore» 사용
소켓 «target_datastore» 사용
소켓 «target_datastore» 사용
소켓 «backend» 사용
소켓 «databases» 사용
소켓 «etcd» 사용
소켓 «backend» 사용
소켓 «backend» 사용
소켓 «cache» 사용
소켓 «state_store» 사용
소켓 «forward_target» 사용
소켓 «backend» 사용
소켓 «cache» 사용
소켓 «chunk_cache» 사용
소켓 «scrape_target» 사용
소켓 «backend» 사용
소켓 «backend» 사용
소켓 «database» 사용
적용 대상
적용 대상
적용 대상
구현
구현