SSMS查看表行数以及使用空间 How to show table row count and space used in SSMS - SSMS Tutorials...

SSMS查看表行数以及使用空间 How to show table row count and space used in SSMS - SSMS Tutorials

原文:How to show table row count and space used in SSMS - SSMS Tutorials

There's a quick and convenient way to see row count, data and index space used in of all tables in one list with SSMS.

First, go to View and Object Explorer Details or press F7 key to enable Object Explorer Details pane.

SSMS查看表行数以及使用空间 How to show table row count and space used in SSMS - SSMS Tutorials..._第1张图片

Now select Tables item under the database you want to analyze in Object Explorer. List of all tables will show in Object Explorer Details pane on the right. Right click grid header and select:

  • Data Space Used (KB)
  • Index Space Used (KB)
  • Row Count

SSMS查看表行数以及使用空间 How to show table row count and space used in SSMS - SSMS Tutorials..._第2张图片

This will add new columns with those details to the list of your tables.

SSMS查看表行数以及使用空间 How to show table row count and space used in SSMS - SSMS Tutorials..._第3张图片

You can copy this data for further analysis and reporting. 

posted on 2019-03-07 10:15 NET未来之路 阅读( ...) 评论( ...) 编辑 收藏

转载于:https://www.cnblogs.com/lonelyxmas/p/10487865.html

你可能感兴趣的:(SSMS查看表行数以及使用空间 How to show table row count and space used in SSMS - SSMS Tutorials...)