Created
May 12, 2021 10:38
-
-
Save sai-manoj-kumar/920a56abc515513969edbd1478cf590e to your computer and use it in GitHub Desktop.
Find the size of all tables in your Kusto database
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// To find the size of all tables in your Kusto database | |
find in ( database('<your database name>').* ) where 1 == 1 | |
| summarize total = format_bytes(sum(estimate_data_size(*))) | |
// Similarly for whole Kusto cluster | |
find in ( cluster('<your cluster name>').database('*').* ) where 1 == 1 | |
| summarize total = format_bytes(sum(estimate_data_size(*))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment