当前位置:网站首页>mysql查询库大小
mysql查询库大小
2022-04-23 14:08:00 【阿闰】
参考:MySQL查看数据库表容量大小_傲雪星枫-CSDN博客_mysql 查看表大小
select
table_schema as '数据库',
sum(table_rows) as '记录数',
sum(truncate(data_length/1024/1024, 2)) as '数据容量(MB)',
sum(truncate(index_length/1024/1024, 2)) as '索引容量(MB)'
from information_schema.tables
group by table_schema
order by sum(data_length) desc, sum(index_length) desc;
版权声明
本文为[阿闰]所创,转载请带上原文链接,感谢
https://blog.csdn.net/wasd986523/article/details/121874808
边栏推荐
- About the configuration and use of json5 in nodejs
- OpenStack如何跨版本升级
- Essential difference between restful WebService and gSOAP webservice
- 帆软报表设置单元格填报以及根据值的大小进行排名方法
- Homebrew是什么?以及使用
- 按实际取,每三级分类汇总一次,看图知需求
- Chrome插件 之 Selenium IDE、XPath 安装
- Intégration de Clusters CDH Phoenix basée sur la gestion cm
- Use of WiFi module based on wechat applet
- Indoor and outdoor map switching (indoor three-point positioning based on ibeacons)
猜你喜欢
随机推荐
Some good articles on pthread multithreading
帆软实现一个单选按钮,可以统一设置其他单选按钮的选择状态
更改plsql工具栏的图标大小
修改ddt生成的测试用例名称
MySQL数据库讲解(七)
困扰多年的系统调研问题有自动化采集工具了,还是开源免费的
Wechat applet input hidden and inoperable settings
VMware 15pro mounts the hard disk of the real computer in the deepin system
服务器日志分析工具(识别,提取,合并,统计异常信息)
mysql 5.1升级到5.67
Algorithem_ReverseLinkedList
Win10 comes with groove music, which can't play cue and ape files. It's a curvilinear way to save the country. It creates its own aimpack plug-in package, and aimp installs DSP plug-in
星界边境文本自动翻译机(高级版)使用说明
帆软分割求解:一段字符串,只取其中某个字符(所需要的字段)
JDBC和servlet写CRUD的接口总结
RecyclerView进阶使用-实现仿支付宝菜单编辑页面拖拽功能
帆软中需要设置合计值为0时,一整行都不显示的解决办法
win10自带Groove音乐不能播放CUE和APE文件的一种曲线救国办法,自己创建aimppack插件包,AIMP安装DSP插件
PySide2
在MAC上安装mysql