mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-11 10:34:13 -05:00
[GH-ISSUE #19231] issue: Huge waste of disk space in vector_db #57482
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 @andrew521 on GitHub (Nov 17, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/19231
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
v0.6.34
Ollama Version (if applicable)
No response
Operating System
wsl2 - ubuntu 24.04
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
122gb of storage for 4111 txt files, average size of 5kb. That is 6000 times more than the original documents.
Embedding Model : nomic-embed-text
Chunk Size : 1000
Chunk Overlap : 100
Actual Behavior
Each entry in vector_db includes a 32mb file, no matter how tini the original file is.
../venvs/webui-env/lib/python3.11/site-packages/open_webui/data/vector_db/*/data_level0.bin
Steps to Reproduce
ls - l ../venvs/webui-env/lib/python3.11/site-packages/open_webui/data/vector_db/*/data_level0.bin
Logs & Screenshots
(webui-env) ...user@RCT2PBK:~/sc_invest$ ls -l /mnt/c/Data/AppData/open_webui/data/vector_db/031559de-3e63-4f46-8b67-4e78826de0c9/*
-rw-rw-r-- 1 ...user ...user 32120000 Nov 12 19:42 /mnt/c/Data/AppData/open_webui/data/vector_db/031559de-3e63-4f46-8b67-4e78826de0c9/data_level0.bin
-rw-rw-r-- 1 ...user ...user 100 Nov 12 19:42 /mnt/c/Data/AppData/open_webui/data/vector_db/031559de-3e63-4f46-8b67-4e78826de0c9/header.bin
-rw-rw-r-- 1 ...user ...user 40000 Nov 12 19:42 /mnt/c/Data/AppData/open_webui/data/vector_db/031559de-3e63-4f46-8b67-4e78826de0c9/length.bin
-rw-rw-r-- 1 ...user ...user 0 Nov 12 19:42 /mnt/c/Data/AppData/open_webui/data/vector_db/031559de-3e63-4f46-8b67-4e78826de0c9/link_lists.bin
Additional Information
No response
@tjbck commented on GitHub (Nov 17, 2025):
We'll need a reliable way to reproduce your issue.