show longest queries in postgres log


/ Published in: Bash
Save to your folder(s)

maybe you must replace "Dauer" with the correct spelling in your logging language (i´ve done this on a german system).
also make sure, that the duration (the value in ms) column is the 5th one in your log file.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.