User Tools

Site Tools


database_size

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
database_size [2017/10/02 12:55] luke7858database_size [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +<sxh bash>
 +# mysql --silent --table
 +</sxh>
 +or
 +<code>
 +[mysql]
 +silent
 +table
 +</code>
 +\\
 ==== Size of ALL databases ==== ==== Size of ALL databases ====
  
Line 28: Line 38:
 FROM information_schema.TABLES FROM information_schema.TABLES
  
-WHERE table_schema = "$DATABASE_NAME"+WHERE table_schema = "$DATABASE_NAME";
 </sxh> </sxh>
  
 \\ \\
database_size.1506948926.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki