✓ Solved

How do I know the usage of storage on managed database?

I'm using managed database. I want to get notified when the storage is running low. How can I know if there are enough free space or not?

2 Replies

✓ Best Answer

MySQL/MariaDB keep information like this within the database itself in the *_schema tables. These are queryable by users with the proper credentials. These tables are well-documented.

You will probably have to do some math on the raw query results to get what you want.

Here's an example relative to (what I perceive was) your specific request:


You'll have to the notification part yourself…

-- sw

I understand that I need to monitor the usage myself for now.
Thank you.


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct