Originally created by @calebhansard on GitHub (Jul 11, 2025).
Check Existing Issues
I have searched the existing issues and discussions.
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.
Originally created by @calebhansard on GitHub (Jul 11, 2025).
### Check Existing Issues
- [x] I have searched the existing issues and discussions.
### 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
- Application db code: https://github.com/open-webui/open-webui/blob/5eca495d3e3b3066e7831141ed2adffbd6d179b4/backend/open_webui/internal/db.py#L78-L97
- pgvector db code: https://github.com/open-webui/open-webui/blob/5eca495d3e3b3066e7831141ed2adffbd6d179b4/backend/open_webui/retrieval/vector/dbs/pgvector.py#L74-L131
- SQAlchemy connection pooling: https://docs.sqlalchemy.org/en/20/core/pooling.html
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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
@tjbck commented on GitHub (Jul 12, 2025):
PR welcome!