You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.
SELECTiq.day_d,
sl.node,
SUM(iq.elapsed_ms) AS elapsed,
SUM(iq.bytes) AS bytes
FROM (
SELECT
start_time::DATEAS day_d,
slice,
qr.query,
segment,
datediff('ms', MIN(start_time), MAX(CASE WHEN end_time ='2000-01-01 00:00:00' THEN endtime ELSE end_time END)) AS elapsed_ms,
SUM(bytes) AS bytes
FROM
svl_query_report qr
LEFT JOIN
stl_query q
ONq.query=qr.queryGROUP BY1, 2, 3, 4
) iq
JOIN
stv_slices AS sl
ONsl.slice=iq.sliceGROUP BY1, 2ORDER BY1DESC, 3DESC
;
Commit Queue Performance by Node
SELECT
node,
SUM(DATEDIFF(MS, startwork, endlocal))
FROM
stl_commit_stats
WHERE
startwork >sysdate-1GROUP BY1ORDER BY1
;