Search

Luis Cacho
Luis Cacho
  •  BLOG
  •   ABOUT ME
  •  PROJECTS
  •   GARDEN
  •   FANTASY
  •  
  •  
  •  
  • Light Dark Automatic
  • Digital Garden
SysAdmin
  • Change the field separator in awk
  • MySQL Database Size
  • AIX Tunning commands
  • Contents
  1. Home
  2. Digital Garden
  3. SysAdmin
  4. MySQL Database Size

MySQL Database Size

SELECT table_schema AS "Database", 
ROUND(SUM(data_length + index_length) / 1024 / 1024, 2) AS "Size (MB)" 
FROM information_schema.TABLES 
GROUP BY table_schema;
Digital-Garden MySQL
Previous
Change the field separator in awk
Next
AIX Tunning commands

Last updated on May 18, 2022

Edit this page

Related

  • Change the field separator in awk
  • AIX Tunning commands
  • MySQL reset root password
  • MySQL without password
  • Change author email in commit

Made with ❤️
Hosted on GitHub - Served by Netlify
© 2014 - 2022 - Luis Cacho

Except as otherwise noted, this work is licensed under CC BY NC SA 4.0, and code samples are licensed under the MIT License.

Published with Wowchemy Website Builder

Cite
Copy Download