Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report operator blocked time distribution in EXPLAIN ANALYZE VERBOSE #14640

Merged
merged 1 commit into from Oct 17, 2022

Conversation

sopel39
Copy link
Member

@sopel39 sopel39 commented Oct 14, 2022

This helps to identify issues with IO (e.g. network issues, external storage issues)

Example
        └─ RemoteSource[sourceFragmentIds = [2]]
               Layout: [count_19:bigint]
               CPU: 0.00ns (0.00%), Scheduled: 1.00ms (0.00%), Blocked: 1.55m (19.72%), Output: 8 rows (72B)
               metrics:
                 'Blocked time distribution (s)' = {count=8.00, p01=11.59, p05=11.59, p10=11.59, p25=11.59, p50=11.59, p75=11.59, p90=11.59, p95=11.59, p99=11.59, min=11.59
                 'CPU time distribution (s)' = {count=8.00, p01=0.00, p05=0.00, p10=0.00, p25=0.00, p50=0.00, p75=0.00, p90=0.00, p95=0.00, p99=0.00, min=0.00, max=0.00}
                 'Input rows distribution' = {count=8.00, p01=0.00, p05=0.00, p10=0.00, p25=0.00, p50=0.00, p75=3.00, p90=4.00, p95=4.00, p99=4.00, min=0.00, max=4.00}
                 'Wall time distribution (s)' = {count=8.00, p01=0.00, p05=0.00, p10=0.00, p25=0.00, p50=0.00, p75=0.00, p90=0.00, p95=0.00, p99=0.00, min=0.00, max=0.00}
               Input avg.: 1.00 rows, Input std.dev.: 150.00%

This helps to identify issues with IO (e.g. network issues, external storage issues)

Example
        └─ RemoteSource[sourceFragmentIds = [2]]
               Layout: [count_19:bigint]
               CPU: 0.00ns (0.00%), Scheduled: 1.00ms (0.00%), Blocked: 1.55m (19.72%), Output: 8 rows (72B)
               metrics:
                 'Blocked time distribution (s)' = {count=8.00, p01=11.59, p05=11.59, p10=11.59, p25=11.59, p50=11.59, p75=11.59, p90=11.59, p95=11.59, p99=11.59, min=11.59
                 'CPU time distribution (s)' = {count=8.00, p01=0.00, p05=0.00, p10=0.00, p25=0.00, p50=0.00, p75=0.00, p90=0.00, p95=0.00, p99=0.00, min=0.00, max=0.00}
                 'Input rows distribution' = {count=8.00, p01=0.00, p05=0.00, p10=0.00, p25=0.00, p50=0.00, p75=3.00, p90=4.00, p95=4.00, p99=4.00, min=0.00, max=4.00}
                 'Wall time distribution (s)' = {count=8.00, p01=0.00, p05=0.00, p10=0.00, p25=0.00, p50=0.00, p75=0.00, p90=0.00, p95=0.00, p99=0.00, min=0.00, max=0.00}
               Input avg.: 1.00 rows, Input std.dev.: 150.00%
@sopel39 sopel39 merged commit 9b38ee3 into trinodb:master Oct 17, 2022
@sopel39 sopel39 deleted the ks/report_blocked branch October 17, 2022 09:52
@sopel39 sopel39 mentioned this pull request Oct 17, 2022
@github-actions github-actions bot added this to the 401 milestone Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

3 participants