Get Heavy Log Tables
get_heavy_log_tablesCheck sizes of Magento log and visitor tables to plan database maintenance without altering or truncating data.
Instructions
Returns sizes of common Magento log/visitor tables. Does NOT truncate tables — planning aid for DB maintenance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | Override the MAGENTO_SQL_PROFILE env var for this call only. Use list_connection_profiles to see available names. | |
| magentoRoot | No | Absolute path to the Magento root (must contain app/etc/env.php). Defaults to MAGENTO_ROOT env var or auto-discovery. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| rows | Yes | ||
| sampled | No | ||
| rowCount | Yes | ||
| truncated | No |