当前位置:网站首页>MySQL query library size
MySQL query library size
2022-04-23 15:14:00 【A run】
select
table_schema as ' database ',
sum(table_rows) as ' Record number ',
sum(truncate(data_length/1024/1024, 2)) as ' Data capacity (MB)',
sum(truncate(index_length/1024/1024, 2)) as ' Index capacity (MB)'
from information_schema.tables
group by table_schema
order by sum(data_length) desc, sum(index_length) desc;
版权声明
本文为[A run]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231407312563.html
边栏推荐
- Llvm - generate local variables
- Sword finger offer (1) -- for Huawei
- Redis cluster principle
- Hj31 word inversion
- C language super complete learning route (collection allows you to avoid detours)
- Have you really learned the operation of sequence table?
- async void 导致程序崩溃
- Share 20 tips for ES6 that should not be missed
- Basic operation of sequential stack
- LeetCode 练习——396. 旋转函数
猜你喜欢
Basic operation of circular queue (Experiment)
Kubernetes详解(十一)——标签与标签选择器
LeetCode165-比较版本号-双指针-字符串
How to use OCR in 5 minutes
UML学习_day2
MySQL InnoDB transaction
Leetcode149 - maximum number of points on a line - Math - hash table
How to upload large files quickly?
My raspberry PI zero 2W tossing notes record some problems encountered and solutions
Introduction to distributed transaction Seata
随机推荐
Leetcode167 - sum of two numbers II - double pointer - bisection - array - Search
Introduction to dirty reading, unrepeatable reading and phantom reading
如何设计一个良好的API接口?
JUC学习记录(2022.4.22)
Tun model of flannel principle
MySQL sync could not find first log file name in binary log index file error
8.5 concise implementation of cyclic neural network
MySQL Basics
How to use OCR in 5 minutes
C语言超全学习路线(收藏让你少走弯路)
setcontext getcontext makecontext swapcontext
API gateway / API gateway (II) - use of Kong - load balancing
Explanation and example application of the principle of logistic regression in machine learning
分布式事务Seata介绍
1990年1月1日是星期一,定义函数date_to_week(year,month,day),实现功能输入年月日后返回星期几,例如date_to_week(2020,11,1),返回:星期日。 提示:
Have you learned the basic operation of circular queue?
Llvm - generate local variables
Openfaas practice 4: template operation
封面和标题中的关键词怎么写?做自媒体为什么视频没有播放量
LeetCode162-寻找峰值-二分-数组