Skip to content
Storage

向量桶限制

Understanding capacity, limits, and billing for vector buckets.

向量存储桶在 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.

限制托管向量桶本地向量桶
最大 topK10,000100
每次响应的最大结果100100
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.