Skip to content

Instantly share code, notes, and snippets.

@sai-manoj-kumar
Created May 12, 2021 10:38
Show Gist options
  • Save sai-manoj-kumar/920a56abc515513969edbd1478cf590e to your computer and use it in GitHub Desktop.
Save sai-manoj-kumar/920a56abc515513969edbd1478cf590e to your computer and use it in GitHub Desktop.
Find the size of all tables in your Kusto database
// 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