Knowledge Base Data Storage Shows 0 MB on Sandbox Plan After Uploading Documents #29252
Replies: 1 comment 4 replies
-
|
Hi @MP-tsunemoto! I'm Dosu and I’m helping the dify team. Here's what I found: The way "Knowledge Base Data Storage" is calculated and updated in the Sandbox plan isn't defined in Dify's public codebase or documentation. Instead, Dify fetches usage and limits from an external billing backend, which handles the actual measurement and reporting. The frontend simply displays the numbers it receives from the billing API—there's no logic in the repo that calculates storage based on raw file size, chunk size, or embedding size, nor is there evidence of immediate or scheduled updates after uploads. The UI mentions that only documents with "High Quality" indexing mode consume storage, but doesn't specify how much or how it's measured. There’s also no reference for how large files must be to reach the 50 MB limit, or whether small uploads will always show 0 MB usage in the Sandbox plan. For more precise details on calculation and update timing, you’d need info from Dify’s official support or documentation outside the public repositories. If you want to test the limits, try uploading larger files or using "High Quality" indexing and monitor the Billing panel for changes. Relevant code references:
To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
Content
Summary
I have been testing the Knowledge Base behavior on the Sandbox (Free) plan, and I noticed that the “Knowledge Base Data Storage” under Settings → Billing does not increase at all. It stays at 0 MB, even after uploading several documents.
I would like to confirm whether this is expected behavior and how the storage usage is actually calculated.
Background
I am working on a project where users save selected past conversation examples into the Knowledge Base.
To evaluate which Dify plan fits this use case, we are testing how the 50 MB Knowledge Data Storage limit behaves in the Sandbox plan.
However, we cannot observe any updates in the data storage usage after uploading documents.
Steps to Reproduce
Questions
How is “Knowledge Base Data Storage” calculated in the Sandbox plan?
Is the storage usage updated immediately after upload, or does it follow a scheduled process?
Is there a reference for how large uploaded files must be to reach the 50 MB limit?
For use cases involving frequent uploads of small text files, is the displayed storage usage expected to remain at 0 MB?
Additional Notes
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions