Choosing a vector database for scaled Open WebUI: when the default stops working
If you are moving Open WebUI from one container to several workers or replicas and retrieval has started to fail, the likely cause is the embedded ChromaDB. The Open WebUI scaling guide warns that the default ChromaDB will crash in multi-process setups, so once several workers or replicas run, you must replace it with an external vector database. The fix is a planning decision, not a tuning change.
Open WebUI's retrieval features support 13 vector databases, including ChromaDB, PGVector, Qdrant, Milvus and Elasticsearch, and the Open WebUI features documentation lists the full set. The choice affects operations as much as search quality. Each option brings its own backup and restore method, upgrade cadence, access controls, storage requirements and failure behavior, and those differences decide how much your team must run and monitor after launch. Confirm the exact connection settings for your chosen store against the current Open WebUI documentation for your release, since configuration keys can change between versions.
This page covers only the vector store. It does not cover Redis, shared file storage or PostgreSQL sizing, which have their own pages in this group. Before you choose, record which store your team can back up, restore and upgrade without a vendor dependency, which skills already exist in-house, and whether the store must stay inside a network boundary you control. Ask each candidate for its supported deployment topology, its authentication model and the storage type it requires. Those answers narrow the list far more reliably than benchmark claims, and they set the work a partner would scope for you.
Which vector database fits which team
If your organization already runs PostgreSQL for Open WebUI's core data, the vector store question is partly about whether you extend that database or add a separate engine. Using pgvector keeps one database engine in your backup, monitoring and access processes, but its version support and supported configuration with Open WebUI must be confirmed in the Open WebUI docs before you commit. PostgreSQL itself is released under the PostgreSQL License, a liberal license similar to BSD or MIT, so there is no license fee for the engine.
- Operational burden: You inherit the PostgreSQL work you already do, including backups, point-in-time recovery, connection limits and planned major upgrades.
- Support window: PostgreSQL 14 is supported to November 12, 2026, and 18 is the newest release, supported to November 14, 2030. Plan the major version you run against that window.
- Ownership: Your team owns capacity planning, connection pool sizing across replicas and the failover tooling, since PostgreSQL does not detect a failed primary or promote a standby on its own.
- Shared load: Vector queries share resources with the relational workload, so measure both before you place them on the same instance.
Before choosing this path, confirm with the Open WebUI docs which pgvector version and configuration the current release supports.
Teams that want vector search isolated from their relational database often choose Qdrant. The open-source engine is licensed under Apache-2.0 and can be self-hosted at no license cost, so the spend shifts to the infrastructure and the people who run it. Qdrant documents three production paths: the managed Qdrant Cloud, a community-supported Kubernetes Helm chart, and an enterprise Kubernetes operator offered as part of Qdrant Private Cloud. The Helm chart lacks enterprise features such as zero-downtime upgrades and automatic shard rebalancing, which matters for uptime planning.
- Operational burden: You run the cluster, storage, upgrades and snapshots, and you must confirm the Open WebUI integration against the Qdrant version you deploy. The latest release on GitHub as of October 2026 is v1.19.2.
- Storage: Qdrant needs block-level storage with a POSIX-compatible file system and cannot run on NFS or S3, so SSD or NVMe volumes are the planning baseline.
- Security: Self-deployed instances listen on all interfaces with no authentication by default, so API keys, TLS and network policy are mandatory setup steps.
- Clustering: Production clusters are recommended at three or more nodes, and a replication factor of 2 doubles storage.
- Vendor options: Qdrant Cloud, Hybrid Cloud and Private Cloud are priced through Qdrant sales or usage tiers, so request a written quote if you want a managed option.
Confirm the Qdrant release and Open WebUI version pairing before you size the cluster.
Organizations with a platform group that already operates Milvus at scale may prefer to reuse that skill set. Open WebUI's retrieval features list Milvus among the supported vector databases, but the version, maintenance status and supported configuration for your Open WebUI release must be confirmed with the Open WebUI docs before you adopt it. Reuse is the main reason to choose it, so the decision rests on the team's existing operating model rather than on features alone.
- Operational burden: Milvus is a distributed system with its own components, storage and upgrade paths, so the burden tracks the cluster you already run.
- Skill reuse: Existing runbooks, monitoring and on-call coverage transfer only if the Open WebUI integration matches the Milvus setup you operate.
- Ownership: Your team owns the Open WebUI-specific schema or collection settings, capacity planning and recovery testing.
- Licensing: Confirm the license and any commercial terms for the Milvus edition you deploy with your legal team, since this topic's facts do not cover them.
- Support: Ask the Open WebUI maintainers which Milvus versions are tested with your release.
Before committing, run a test deployment against your target Open WebUI version and confirm the supported Milvus configuration in writing.
Open WebUI's default ChromaDB runs inside the application process, and the scaling guide warns that it will crash in multi-process setups. Teams considering ChromaDB in HTTP mode, running it as a separate server that Open WebUI calls over the network, must confirm with the Open WebUI docs that this configuration is supported for their release and replica count. Maintenance status and the supported topology are the questions to resolve before this path is chosen.
- Why the default fails: The embedded store is not designed for several workers or replicas, so moving it out of process is the reason to consider HTTP mode.
- Operational burden: You run an additional stateful service, with its own storage, backups, access control and upgrades.
- Security: Confirm how the HTTP endpoint is authenticated and restricted to the Open WebUI network, because access control details must be verified for your version.
- Ownership: Your team owns the service, the data directory and restore testing, not only the connection string.
- Comparison: If the Open WebUI docs do not list the HTTP topology for your release, choose one of the engines they document for multi-replica use.
Check the current Open WebUI scaling and retrieval documentation, and get the supported ChromaDB configuration confirmed before you build around it.
Vector database options for scaled Open WebUI compared
This table compares pgvector, Milvus, Qdrant, MariaDB Vector and ChromaDB in HTTP mode across license, deployment, storage, security defaults, clustering and day-to-day operation. Read the cells for Milvus, MariaDB Vector and ChromaDB as open questions to confirm with each project before you commit. The main takeaway is that pgvector adds the fewest new systems if you already run PostgreSQL for Open WebUI, while Qdrant needs more hardening and a clustering plan to run as a separate service.
| Criterion | pgvector (in PostgreSQL) | Qdrant (separate service) | Milvus, MariaDB Vector, ChromaDB HTTP |
|---|---|---|---|
| License | PostgreSQL License, a permissive license similar to BSD or MIT | Apache-2.0 for the open-source engine, free to self-host | Confirm each project's license and any commercial distribution terms |
| Deployment model | Extension inside the PostgreSQL database Open WebUI already uses | Separate service you run, or a managed or private cloud offering priced by Qdrant sales | Confirm supported install methods and whether each runs as a standalone server in your setup |
| Storage requirements | Uses PostgreSQL storage and its backup tooling, so sizing follows your database plan | Block-level storage with a POSIX file system on SSD or NVMe; NFS and S3 object storage are not supported | Confirm supported storage backends and whether network file systems are allowed |
| Security defaults | Inherits PostgreSQL authentication, including SCRAM, certificates, LDAP and OAuth | Insecure by default: listens on all interfaces with no authentication until you configure API keys and TLS | Confirm default bind addresses, authentication and TLS settings for each project |
| Clustering and scale | Scales with PostgreSQL replication and external failover tools, since PostgreSQL does not detect failures itself | Distributed mode uses Raft and sharding; the docs recommend at least three nodes for production quorum | Confirm clustering model, minimum node count and failover behavior |
| Vendor support of the integration | Confirm with the Open WebUI docs which options the core team maintains | Confirm with the Open WebUI docs which options the core team maintains | Confirm with the Open WebUI docs which options the core team maintains |
| What your team operates | PostgreSQL sizing, connection limits, extension upgrades and backups for the vector data | A second stateful service with its own backups, upgrades, key management, TLS and cluster health | A separate stack to confirm for each project, including its upgrade and recovery procedures |
How to set up an external vector store for Open WebUI
This sequence moves retrieval off the embedded ChromaDB onto a shared external vector store that every Open WebUI replica can reach, with access controls in place before the store is exposed to the network.
Confirm version and supported vector store
The platform team checks the Open WebUI version in use against the release history on the project's GitHub releases page, then confirms in the Open WebUI features documentation that the chosen store (Qdrant, pgvector, Milvus, MariaDB Vector or ChromaDB in HTTP mode) is listed as supported for retrieval. Confirm the exact configuration key name, which is expected to be
VECTOR_DB, against the current Open WebUI docs before writing any configuration. Done when the team has a written record of the version, the store and the key name, and a note that the embedded ChromaDB is being replaced.Size the store on SSD or NVMe
The platform team sizes the store's storage on locally attached SSD or NVMe, because Qdrant requires block-level storage with a POSIX-compatible file system and cannot run on NFS or S3-style object storage. Ask the store's vendor or documentation which storage types it supports for your chosen engine, and plan capacity with the expected number of uploaded documents and embedding dimensions in mind. Done when the storage class, the volume size and the file system are written down and the volume is provisioned and mounted in the cluster.
Deploy the store in a cluster you control
The platform team deploys the vector store inside infrastructure the organization operates, using the vendor's documented production path. For Qdrant, that means choosing between the managed cloud, the community Helm chart or the enterprise operator, and noting that the community chart lacks enterprise features such as zero-downtime upgrades and automatic shard rebalancing. Done when the store's pods or nodes are running, their health endpoint responds from inside the cluster, and the deployment is recorded in configuration management.
Enable API keys and TLS before exposure
Before any network route to the store is opened, the platform team enables API key authentication and TLS for both REST and gRPC, following the store's security documentation. Qdrant's documentation states that self-deployed instances listen on all interfaces with no authentication by default, so this step must be completed first. Check that an unauthenticated request to the store is refused, and that a request over plain HTTP is not accepted on the production endpoint. Done when unauthenticated calls return an error, the key is stored in your secrets manager and TLS certificates are valid for the service name.
Point Open WebUI at the store
The platform team sets the vector database configuration in every Open WebUI replica to the same external endpoint, using the key name confirmed in the Open WebUI docs and the API key from the secrets store. All replicas should share one PostgreSQL database and the same secret key, so they read the same vector settings. Restart the replicas in a rolling pattern and watch the logs for connection errors. Done when every replica starts cleanly and the logs show a successful connection to the external store rather than the embedded ChromaDB.
Test retrieval from every replica
The QA or platform engineer uploads a test document through one replica, waits for indexing to finish, then runs a knowledge-base query through a different replica and confirms the document is returned with its citation. Repeat with the roles reversed and with each replica behind the load balancer. Also confirm the uploaded file is reachable from every replica, since shared file storage is a separate requirement. Done when every replica returns the same test result, and the test is recorded with the replica names, the store endpoint and the query used.
Record the configuration and operating runbook
The platform team writes down the final configuration, including the store version, storage class, authentication method, TLS certificate source, backup or snapshot approach and the owner for each. Confirm snapshot and restore options in the vendor documentation and schedule a restore test in a non-production cluster. Done when the runbook is stored with the infrastructure records and the team has a documented way to reproduce the setup.
Where the vector store sits relative to replicas and shared state
The diagram starts with users reaching a load balancer, which fans requests out to several Open WebUI replicas. Each replica depends on the same PostgreSQL database, the same Redis store and the same shared file storage, so no replica holds state of its own. The external vector database sits inside a trust boundary with its own API keys, and every replica reaches it over the network. Check that each replica points at the same vector store endpoint, that the store is not reachable without credentials, and that no replica falls back to the embedded ChromaDB.
Every replica shares one external vector store, behind its own credentials.
Securing the vector store and its data
A self-hosted Qdrant instance holds embedded user documents, so its network exposure, authentication, transport encryption and backups need the same attention as the application. The cards below cover the controls to set before Open WebUI reads from or writes to the store.
Close the unauthenticated default listeners
Self-deployed Qdrant listens on all network interfaces and has no authentication configured by default, so a fresh install is open to any host that can reach its ports. Before connecting Open WebUI, bind the service to the interfaces it needs and enable API keys. Check the listener addresses from a host outside the application network, because a default install that works in testing is often reachable everywhere else too.
Qdrant security docsSeparate admin and read-only API keys
Qdrant supports admin and read-only API keys, so the credential Open WebUI uses for search does not need to create or delete collections. Keep the admin key out of the application configuration and in your secrets manager. Confirm which operations the Open WebUI integration performs during indexing and retrieval, then assign the narrower key wherever the workload allows it.
- Keys and TLS added
- v1.2.0
Encrypt REST and gRPC traffic
Qdrant supports TLS for both its REST and gRPC interfaces, and Open WebUI traffic to the store crosses the network on every chat that uses retrieval. Issue certificates from your internal authority, configure both interfaces, and verify that the client settings in Open WebUI trust that authority. Test each protocol separately, since a working REST check does not prove the gRPC path is encrypted.
Scope permissions per collection
JWT-based access control lets you grant read or write permissions per collection, which matters when several knowledge bases share one cluster. Map each Open WebUI deployment or tenant to its own collections and tokens, and confirm that a token for one collection cannot read another. Ask your vendor or test environment to confirm the exact claim format for your Qdrant version before writing the policy.
- Per-collection permissions
- v1.9.0
Keep audit logs of store operations
JSON audit logging of authenticated API operations records who called the store and what they did, which supports incident response and access reviews for documents that users uploaded. Set the log destination, retention and shipping to your central logging system before go-live. Decide who reviews the logs and how often, because logs that no one reads do not show an exposure.
- Audit logging added
- v1.17.0
Back up and restore embedded documents
Vector collections contain derived copies of user documents, and losing them forces re-embedding of every knowledge base, while stale copies can outlive a deleted file. Use Qdrant snapshots on a schedule, store them encrypted in a location separate from the cluster, and test a restore into a non-production instance. Include the deletion path in your review, so removing a file in Open WebUI also removes its vectors and snapshots age out under your retention rules.
Qdrant snapshotsPlace the store where only Open WebUI reaches it
Put Qdrant on a private network segment with firewall rules that allow connections only from the Open WebUI replicas and the administrators who maintain the cluster. Block direct access from user networks and from other application tiers, and check the rules after each infrastructure change. Confirm the network design with the team that owns the cluster, because cloud security groups and Kubernetes network policies often differ from what the diagram shows.
Questions teams ask before choosing a vector database
What does a scaled vector database actually cost?
The open-source engine itself carries no licence fee for self-hosting, but the total cost is the infrastructure it runs on, the people who operate it and any vendor support or cloud contract you add. Infrastructure is recurring: each cluster needs compute, block storage on SSD or NVMe, backups and monitoring, and a distributed Qdrant setup duplicates data according to its replication factor. Vendor managed services, Hybrid Cloud and Private Cloud are quoted through the vendor's sales team, so ask for a written quote that states what is included, the uptime commitment, support response terms and any minimum spend. Qdrant's pricing page lists a free single-node cloud tier, but it is limited and not a production sizing guide.
How long does a vector database migration take?
Duration depends on how many collections and documents you hold, how often the knowledge base changes, whether you re-embed or copy existing vectors, and how much testing your compliance process requires. The migration itself is usually the smaller part: provisioning the cluster, setting access controls, configuring Open WebUI, running a retrieval comparison and cutting over are where time goes. Ask for a timeline built from your data volume and change rate rather than a generic figure, and confirm which migration tooling the vendor documents for moving data between stores.
What does our team need to provide for the work?
You need an owner for the Open WebUI configuration, someone who can run the database and storage platform, and a security contact who will approve network, authentication and backup settings. On the infrastructure side, you provide the environment where the vector store runs, block storage that meets the vendor's file system rules, DNS and certificates, and access to your identity provider if API access is tied to SSO. Document the sample questions and corpora you will use for retrieval testing, because those tests decide whether the cutover is acceptable.
Can our own team implement this without a consultant?
Yes, if your engineers have operated PostgreSQL or a comparable distributed service, can read the vendor's security and deployment documentation, and have time for testing. The points that most often cause trouble are the default ChromaDB limits with several workers, network exposure and authentication of self-deployed vector stores, backup and restore of the vector data, and the quorum design of a multi-node cluster. Review those items against your own runbook before you commit to a design.
Does pgvector reduce the number of components we run?
It can. If PostgreSQL already serves as the Open WebUI database and Redis and shared storage are in place, pgvector keeps vectors in the same database, which removes one service to deploy, secure, back up and patch. The trade-off is that vector search load then shares resources and backup windows with the application database, so you should test retrieval latency and database capacity together. Check the pgvector release you plan to run against the PostgreSQL version your platform team supports, and confirm the Open WebUI release you target lists it as a supported option.
What breaks if we pick the wrong vector database?
The most common failure is a choice that works in a single-replica test and then fails under several workers or replicas. Other failures include exposing an unauthenticated vector API on a network, storing data on NFS or object storage where the engine does not run, undersized shards or memory, and restores that were never tested. Each of these is avoidable with a written checklist covering storage, authentication, TLS, backups and a retrieval test set that runs before every upgrade.
When is it worth hiring a consultant for this?
A consultant is worth considering when the vector store sits on a regulated workload, when your team lacks distributed database experience, when the deadline leaves no room for a failed cutover, or when audit evidence for access, logging and backups must be ready. DeployOpen implements and hardens self-hosted platforms in your own infrastructure under a written, fixed scope, and prepares systems and evidence for compliance assessments, but it does not issue audit reports or certifications. Ask any provider for the scope, the deliverables and the acceptance tests in writing before you compare quotes.
How DeployOpen scopes and delivers a vector store for Open WebUI
DeployOpen approaches the vector database decision as a scoped infrastructure change, not a database swap. We start from your Open WebUI replica count, document volume and the access rules your security team needs, then plan, build, test and document the chosen store inside infrastructure you control.
How we scope
- Confirm which Open WebUI replicas, workers and document volumes the vector store must serve.
- Record the chosen store (pgvector, Milvus, Qdrant, MariaDB Vector or ChromaDB in HTTP mode) and the reason for it.
- Agree in writing who owns the store, its hosting, its backups and its upgrades after handover.
How we build
- Deploy the vector store on block storage in your environment, not on network file systems where the vendor forbids them.
- Configure authentication, TLS and access controls before any Open WebUI replica connects to the store.
- Test reindexing, failover behavior and a knowledge base restore against the Open WebUI replicas you run.
How we hand over
- Document connection settings, sizing assumptions, network paths and the exact versions deployed.
- Provide runbooks for backup, snapshot restore, version upgrades and rotating store credentials.
- Walk your platform and security teams through the configuration so they can review it against their own controls.
How we support
- Offer ongoing support, upgrades and continuous testing for the vector store as a retainer.
- Retest the store after Open WebUI or vector database upgrades that touch retrieval behavior.
- Keep evidence of configuration, access and testing current for internal and external compliance reviews.

