Find slow postgres queries on heroku
From your console within your project directory type the following command:
heroku logs --tail --ps postgres
Slow queries are automatically logged by heroku. This will tail your app logs and filter them for the postgres process only. It's great real-time feedback of your app's database performance.
Written by Scott M
Related protips
1 Response
you're my hero
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Heroku
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#