-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
TiDB should be able to use sql to get the disk usage #7468
Comments
The SQL standard way to do this is +1 for exposing more features through the server. The MySQL team is doing this too (See #1 Use SQL). |
@morgo Use SQL API is on the plan. I think it is more convenient. We have a project to expose more cluster internal info to users and tidb admin tools. Will public it on the Github soon. |
Related to this,
|
Please answer these questions before submitting your issue. Thanks!
What did you do?
If possible, provide a recipe for reproducing the error.
What did you expect to see?
There's a builtin function or something else, which we can use to get the disk-usage of one table or one database.
Currently there's only http API to do this. And we can use
tidb-ctl
to do this.But sql may be much easier.
tidb-server -V
or runselect tidb_version();
on TiDB)?The text was updated successfully, but these errors were encountered: