node-postgres-extras icon indicating copy to clipboard operation
node-postgres-extras copied to clipboard

list of indexes with index scans

Open joprice opened this issue 3 years ago • 1 comments

After making use of unused_indexes, I started wondering about which indexes were being used, and to what extent. There are some other queries for index usage relative to a table, but it might be nice to have a similar query to unused_indexes, but without the limit of 50.

joprice avatar May 13 '22 22:05 joprice

Hi. https://github.com/pawurb/ruby-pg-extras Ruby version of this library has support for query arguments, that would allow changing the limit. I'm no longer actively developing this version, but if you're interested in submitting a PR with this feature I'll be glad to release it.

pawurb avatar May 14 '22 21:05 pawurb