TSBS DevOps — Low Memory Hosts
TSBS DevOps benchmark · all TSBS DevOps queries
Hosts with low available memory
Representative SQL
Rendered in the benchmark’s native SQL with default parameters (no dialect translation available).
SELECT hostname, MIN(available_percent) AS min_avail_pctFROM memWHERE time >= '2024-01-01 01:00:00' AND time < '2024-01-01 02:00:00'GROUP BY hostnameHAVING MIN(available_percent) < 10ORDER BY min_avail_pctRepresentative 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['low-memory-hosts'])Source
Query text: benchbox/core/tsbs_devops/queries.py