Skip to content

How to get table & database size in s3 ? #4960

Answered by BohuTANG
wubx asked this question in Q&A
Discussion options

You must be logged in to vote

There are two ways:

  1. show table status from <yourdatabase>
mysql> show table status from dd1;
+------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+-------------------------------+-------------+------------+-----------+----------+---------+
| Name | Engine | Version | Row_format | Rows | Avg_row_length | Data_length | Max_data_length | Index_length | Data_free | Auto_increment | Create_time                   | Update_time | Check_time | Collation | Checksum | Comment |
+------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+-------------…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Xuanwo
Comment options

wubx
Apr 20, 2022
Maintainer Author

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants