Description
You can query the disk space occupied by temporary files generated by a tenant on each node.
Statement
SELECT svr_ip, svr_port, file_type, round(sum(data_size) / 1024 / 1024 / 1024, 3) AS size_gb
FROM __all_space_usage
WHERE file_type = 'tenant tmp data'
GROUP BY svr_ip, svr_port
Possible impact
For more information, see Troubleshoot issues related to temporary files or How to query the disk space occupied by temporary files in OceanBase Database.