Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Get database disk size. #3964

Open
2 tasks done
vinodh013 opened this issue Apr 29, 2024 · 2 comments
Open
2 tasks done

Feature: Get database disk size. #3964

vinodh013 opened this issue Apr 29, 2024 · 2 comments
Labels
feature New feature or request triage This issue is new

Comments

@vinodh013
Copy link

vinodh013 commented Apr 29, 2024

Is your feature request related to a problem?

If i want to create a multi-tenant app. Give each tenant a specified disk space then how can i get to know that the tenant have exceeded his given disk space, if all the tenants resides in the same disk

Describe the solution

Just get the disk space of a database with a query.

Info for dbspace

Alternative methods

Use existing query and get the result with key as size

Info for db

Contact Details

[email protected]

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct
@vinodh013 vinodh013 added feature New feature or request triage This issue is new labels Apr 29, 2024
@sgirones
Copy link
Contributor

thanks for opening the issue. I agree this would be useful, but I'm unsure when we will get to it.

Another approach would be to generate metrics that gives you that information.

@vinodh013
Copy link
Author

Thank you @sgirones for the response.
But how to generate the metrics for the database size any suggestions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request triage This issue is new
Projects
None yet
Development

No branches or pull requests

2 participants