-
Notifications
You must be signed in to change notification settings - Fork 130
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
Parallel IO Read Timings #305
Comments
@lrweck it looks like you removed this plan. Can you share it again? |
@lrweck are you able to provide a plan so that I can better understand the issue? |
@lrweck I'm still looking for more info. Thanks. |
Here's a plan that should help reproduce the bug. https://explain.dalibo.com/plan/6Z4#plan/node/3
|
I can reproduce at will: without parallelization: 178 Mbytes read in both cases (from OS cache), but its 500 ms or 5 s. I suspect that the track_io_timing is multiplied by the loops number. |
According to @ioguix, adding the workers IO timings may be normal. Here is another example with pgbench size 100, with all caches dropped between each run (PG13) :
|
The timings may be confusing because greater than global timing. In the case of parallel aware nodes, we show a message in node detail, plan stats and diagram tooltip. Fixes #305
When using "EXPLAIN (ANALYZE, TIMING)", IO timings can be confusing when measuring parallel nodes.
Example: https://explain.dalibo.com/plan/avr0
What do you think of showing the maximum time between all wokers on this tab, and individual worker timings for each worker on Misc tab?
The text was updated successfully, but these errors were encountered: