lidedong

mysql查询所有表空间大小

 

select table_name,table_rows,data_length+index_length,
concat(round((data_length+index_length)/1024/1024/1024,2),\'GB\')
data from information_schema.tables where table_schema=\'comp_workbench\' order by data desc

 

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-07
  • 2022-12-23
  • 2021-12-26
  • 2022-01-04
猜你喜欢
  • 2021-09-09
  • 2022-12-23
  • 2022-12-23
  • 2021-07-30
  • 2021-11-29
相关资源
相似解决方案