RGSLCA
New Contributor II

There seems to be a option for Databricks Runtime 18.0 or above.

Syntax:
    ANALYZE TABLE catalog.schema.your_table COMPUTE STORAGE METRICS;