Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Use pg_locks.waitstart for counting waiting time. #32

Merged
merged 2 commits into from
Apr 9, 2022

Conversation

lesovsky
Copy link
Owner

@lesovsky lesovsky commented Apr 9, 2022

Postgres 14 has pg_locks.waitstart which is more suitable for counting sessions' waiting time instead of pg_stat_activity.state_change.

@lesovsky lesovsky merged commit 9ed2fef into master Apr 9, 2022
@lesovsky lesovsky deleted the use-waitstart-for-waiting-seconds branch April 9, 2022 06:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant