N
Neon10h ago
correct-apricot

Storage limit issues, not matching DB size.

Hello all, I have a problem with my free plan. It says I have gone over the limit for storage, it went from 400 mb to 3.84 mb in one day. I have cleaned the database, I have vacuumed, and when I check the DB size it says around 72 mb now. What is the issue?
No description
No description
2 Replies
xenogeneic-maroon
xenogeneic-maroon7h ago
Hey @Carl-Johan H - because your project was created via Vercel Marketplace, it is on the old Free Plan that includes database change history (Instant Restore storage) in the storage allowance. So even after you delete data, it is still registering towards your limit because it is saved in instant restore history. https://neon.com/docs/introduction/branch-restore You can fix by decreasing your restore window to zero - https://neon.com/docs/manage/projects#configure-your-restore-window but it will still take some time to flush out and process. I know this doesnt necessarily fix your issue but just as an FYI we've updated this in the new Free Plans where if you use a Neon Free Plan directly today (instead of via Vercel Marketplace) only your database storage counts towards your 0.5 GB allowance. We're working on updating the Vercel marketplace plans to work this way too.
correct-apricot
correct-apricotOP5h ago
I understand, thanks! All of a sudden it went down to 0,31 GB now though, but I might have to upgrade anyway, since network transfer is almost at 5gb

Did you find this page helpful?