向量桶限制
Understanding capacity, limits, and billing for vector buckets.
此功能处于测试阶段
预计会有快速变化、功能有限,并可能出现破坏性更新。随着我们改进体验并扩大访问,欢迎分享反馈。
🌐 Expect rapid changes, limited features, and possible breaking updates. Share feedback as we refine the experience and expand access.
向量存储桶在 alpha 阶段有默认限制。这些限制旨在确保资源的公平分配,并且可以根据具体情况为生产工作负载进行调整。
🌐 Vector buckets have default limits during the alpha phase. These limits are designed to ensure fair resource allocation and can be adjusted on a case-by-case basis for production workloads.
存储限制 #
🌐 Storage limits
| 限制 | 数值 | 说明 |
|---|---|---|
| 每个项目的桶数 | 10 | 每个 Supabase 项目的向量桶最大数量 |
| 每个桶的索引数 | 10 | 每个桶的索引最大数量 |
| 向量维度 | 最大 4096 | 嵌入向量的最大维度 |
| 批量大小 | 1000 个向量 | 单次插入/更新请求的最大向量数 |
查询限制 #
🌐 Query limits
queryVectors 的限制在托管向量桶和本地向量桶之间有所不同。
🌐 The queryVectors limits differ between hosted and local vector buckets.
| 限制 | 托管向量桶 | 本地向量桶 |
|---|---|---|
最大 topK | 10,000 | 100 |
| 每次响应的最大结果 | 100 | 100 |
nextToken 查询分页 | 支持 | 不支持 |
托管的向量存储桶使用 Amazon S3 Vectors。当响应中包含 nextToken 时,使用该令牌再次发送相同的查询以获取下一页。 本地向量存储桶使用 pgvector,并在一次响应中返回所请求的结果。
🌐 Hosted vector buckets use Amazon S3 Vectors. When a response includes a nextToken, send the same query again with that token to retrieve the next page. Local vector buckets use pgvector and return the requested results in one response.