mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-11 00:04:08 -05:00
feat: Add Configurable Pool Size and Max Overflow for Pgvector Database #5742
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @calebhansard on GitHub (Jul 11, 2025).
Check Existing Issues
Problem Description
The current Open WebUI application database allows configuration of the PostgreSQL database pool size and max overflow for the application database. However, similar configuration options are not available for the pgvector database. This limits the ability to manage database connections and tune performance specifically for the pgvector database.
Desired Solution you'd like
Add support for configurable pool size and max overflow for the pgvector database. This would allow users to better manage database connections and potentially improve performance.
Alternatives Considered
No response
Additional Context
5eca495d3e/backend/open_webui/internal/db.py (L78-L97)5eca495d3e/backend/open_webui/retrieval/vector/dbs/pgvector.py (L74-L131)@tjbck commented on GitHub (Jul 12, 2025):
PR welcome!