Skip to content

No information about "no wait" state #10

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

Closed
egor-rogov opened this issue Sep 11, 2018 · 1 comment · Fixed by #74
Closed

No information about "no wait" state #10

egor-rogov opened this issue Sep 11, 2018 · 1 comment · Fixed by #74
Assignees

Comments

@egor-rogov
Copy link

The case of not waiting (wait_event_info == 0) is no less important than the case of waiting. Absence of "no wait" counts in profile make it impossible to compare waiting time to active time.

@egor-rogov
Copy link
Author

Looks like this requires another algorithm of iterating over backends, probably the same as in pg_stat_activity. Just commenting out if (proc->wait_event_info == 0) continue; in probe_waits() leaves a lot of empty rows in profile from some processes which are not listed in pg_stat_activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants