Report this

What is the reason for this report?

Technical details behind "running low on disk" notification for Postgresql service

Posted on August 10, 2020

I have 2 databases in my service plan and their size is less than 8GB (4300MB + 3000MB) I have been seeing “running low on disk” notifications starting 2 weeks ago even though their size were even less the 8GB ( more then 2 GB to 10GB limit).

Those are the sizes I can see from pgadmin. What is the reason I was seeing those notifications and why my databases went to readonly even though I still have 2GB?

Thanks



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there @metehanr,

I believe that as you are going under 20% of available disk usage, that’s why you are getting the notifications.

What I could suggest is double-checking your overall disk usage to make sure that this is indeed the case. To do so for your managed database cluster follow these steps:

  • Go to your control panel at https://cloud.digitalocean.com/
  • Then go to your managed database instance
  • Click on ‘Insights’ then from the dropdown choose the name of your cluster
  • There you would be able to see all kinds of different metrics including your disk usage.

Managed database usage

Regards, Bobby

Hi @bobbyiliev ,

When I check pgadmin I see total databases size around 5GB (after I removed data from test database) Therefore disk usage should be around %50. But What I see on Insight tab almost %70. Either what pgadmin shows is wrong or how you calculate is different. In any case it is misleading. My database went to readonly what I believed I had 2GB more disk.

Could you clarify the differences and why I cannot use whole 10GB disk size, what I thought I payed for.

_dodb (8305 kB) defaultdb (8281 kB) x (5084 MB) x_dev (45 MB) template1 (8289 kB)

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.