TSBS DevOps — CPU Max All Hosts - 1 Hour
TSBS DevOps benchmark · all TSBS DevOps queries
Maximum CPU usage across all hosts in 1 hour
Representative SQL
Rendered in the benchmark’s native SQL with default parameters (no dialect translation available).
SELECT hostname, MAX(usage_user) AS max_user, MAX(usage_system) AS max_systemFROM cpuWHERE time >= '2024-01-01 03:00:00' AND time < '2024-01-01 04:00:00'GROUP BY hostnameORDER BY max_user DESCRepresentative DataFrame
No DataFrame implementation is registered for this query.
Get the exact query for your run
The blocks above are representative. To get the precise statement a specific platform runs at a specific scale, substitute your own values:
from benchbox import TSBSDevOps
bench = TSBSDevOps(scale_factor=1.0) # your scale factorqueries = bench.get_queries(dialect="datafusion") # your platform's dialect; drop dialect= for native SQLprint(queries['cpu-max-all-1-hr'])Source
Query text: benchbox/core/tsbs_devops/queries.py