0
SELECT 
     table_schema as `Database`, 
     table_name AS `Table`, 
     round(((data_length + index_length) / 1024 / 1024), 2) `大小 (MB)` 
FROM information_schema.TABLES 
ORDER BY (data_length + index_length) DESC;
0

diskutil list #1.找到U盘的代号 比如disk2

/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *7.7 GB     disk2
   1:                        EFI EFI                     209.7 MB   disk2s1
   2:       Microsoft Basic Data IDISK                   7.4 GB     disk2s2

diskutil unmountDisk /dev/disk2 #2. diskutil eraseDisk JHFS+ iDisk disk2 #3.

公告


极思路 全新改版上线
更好看的个人主页
reddit风格的评论
支持 GitHub Flavored Markdown 文本标记语法。
自适应布局