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

Show locks data [enhancement] #183

Closed
ohaddahan opened this issue Jan 29, 2018 · 6 comments
Closed

Show locks data [enhancement] #183

ohaddahan opened this issue Jan 29, 2018 · 6 comments

Comments

@ohaddahan
Copy link

I think a very useful enhancement will be extracting lock data from the DB.
Locks can be the underlining reasons for many long / non-end queries and making them more visible is highly valuable in my eyes.

@seanlinsley
Copy link
Contributor

A starting point: https://wiki.postgresql.org/wiki/Lock_Monitoring

@seanlinsley
Copy link
Contributor

It looks like there's a blocked_queries method, but it doesn't have a UI.

@ankane
Copy link
Owner

ankane commented Feb 21, 2018

Hey @ohaddahan, thanks for the suggestion. As @seanlinsley mentioned, there is a Ruby method for it, but it's not used in the UI. Are you interested in seeing that a long running query is due to a lock, or did you have something else in mind?

@ankane
Copy link
Owner

ankane commented Mar 30, 2018

Cleaning up stale issues

@ankane ankane closed this as completed Mar 30, 2018
@maximmladenov
Copy link

Hey @ankane I am interested in seeing long running queries which are due to a lock. Do you have any plan to develop this kind of feature?

@slava-nikulin
Copy link

slava-nikulin commented Nov 28, 2019

@ankane yeah, I'm interested to see blocked queries too

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

No branches or pull requests

5 participants