Get table statistics
hana_get_table_statsRetrieve table statistics including row count, table type, column-store flag, primary key flag, and disk size from SAP HANA system tables.
Instructions
Return row count, table type, column-store flag, primary key flag, and disk size (requires MONITORING privilege for disk size) from SYS.TABLES and SYS.M_TABLE_SIZES.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | Table name | |
| schema_name | No | Schema name (defaults to HANA_SCHEMA) |