Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • In all of my tables, data_free is much larger than data_length, meaning that your query would return a negative number. Perhaps it is interpreting it as an unsigned positive integer, hence the nonsensical result. When I try pasting in that query, I get the error "BIGINT UNSIGNED value is out of range". Commented Aug 7, 2012 at 18:38
  • For size of a specific database/table answer provided in this page will help you rathishkumar.in/2017/12/… Commented Dec 29, 2017 at 12:45
  • 1
    Does this answer your question? How to get size of mysql database? Commented Jun 6, 2021 at 16:27
  • @frederj your link is to question asked AFTER this one Commented Jun 6, 2021 at 19:56
  • @Prophet The date of the question doesn't really matter. The target question should be the best one, based on the question, and posted answers. Commented Jun 6, 2021 at 23:31