Storage Issue
Hi everyone
I have a storage issue on Neon
I see that my two branches smaller than 100 mb each. But for some reason I got limit more than 0.5 GB 🤷♂️🤷♂️


18 Replies
xenial-black•4w ago
Hey!
Do you have have a a restore window on? The WALs that need to be stored for PITR are most likely taking up the rest of the space
cloudy-cyanOP•4w ago
I'm not sure about the restore window
I see this in the restore settings:
"Your current history retention period is set to 1 day. Edit history settings"
Do I need to change something?
xenial-black•4w ago
To free up space you could change your retention period, and then your WALs wont count towards you storage as much.
You can change it to something like 1h, that way if you make a mistake you can still PITR restore, but you'll cut down on WAL storage
cloudy-cyanOP•4w ago
I set it for one hour
Do I need to do something else to clean it now?


stormy-gold•4w ago
Yeah I'm running into a similar problem as well. I'm looking at storage that is allegedly close to my limit, but looking at my branches shows that the actual data size is much less and doesn't add up. My WALs also seem to not be taking up that much space but just in case, I've additionally set it to 0 hours.
But what could the mystery storage consumption really be coming from? It doesn't seem to add up from what I can tell
EDIT: apologies, screenshots sent in reverse order 😅




xenial-black•4w ago
@dom @illya_37 Forwarding this internally so I can get a better answer for you!
helpful-purple•4w ago
Hey @dom (love your user name btw) and @illya_37 could you share your project ids? You can find those in the URL when you’re in your project details on the Neon console. 🙏🏻
stormy-gold•4w ago
Hey @Andre Landgraf , my project ID is
hidden-wildflower-91034266helpful-purple•4w ago
Perfect thank you! Will report back!
cloudy-cyanOP•4w ago
Hey
My project id - still-tooth-58789120
stormy-gold•4w ago
Good morning @Andre Landgraf ! just as another data point, my project jumped .03 GB since the last time I shared a screenshot, despite not too much activity on my service. Let me know if there's more screenshots I can provide or commands I can run that might help diagnose!

helpful-purple•4w ago
Thanks for sharing! Oncall is still investigating. Will update once I hear back!
extended-salmon•4w ago
@Andre Landgraf good day. I am also experiencing the same issue. Project ID: hidden-poetry-49456468
cloudy-cyanOP•4w ago
Hey @Andre Landgraf
I just checked my DB dashboard and saw that storage usage is correct now
Was it fixed on your side somehow?

stormy-gold•3w ago
Maybe because the new month has started
cloudy-cyanOP•3w ago
And did it fix your issue also?
stormy-gold•3w ago
Yes on my end it's reset as well, would still love to know the root cause to ensure I don't approach the limit so closely every month 😅
helpful-purple•3w ago
Will update on root cause in a bit. Deployed a fix but still discussing some enhancements and next steps.
As far as I know so far, it only affected the free tier and only the UI - it didn’t block DB access, just falsely reported storage usage.