-
Notifications
You must be signed in to change notification settings - Fork 450
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
Explain how to enable query stats #7
Comments
Here's how you enable query stat statements - http://www.postgresql.org/docs/9.3/static/pgstatstatements.html As for performance impact, postgres docs state that enabling pg_stat_statements will require additional memory for database. |
@manuelmeurer you may enable it manually (under "postgres" user, for example) by running:
I wrote a short wiki here: https://github.com/ankane/pghero/wiki/How-to-manually-enable-query-stats |
Thanks guys! I'll try to get it running and prepare a PR for the README since I think this should be mentioned there. |
Great gem! 👏
I installed it and it told me query stats are not enabled and, upon trying to enable them, "The database user does not have permission to enable query stats"
Could you quickly explain in the README what the query stats are and how to enable them? Are they same as the Statistics Collector?
A bit more info would be great for Postgres newbies like me.
Also, it might make sense to mention in the README that the performance of the app is not affected by enabling PGHero (I assume it's not 😄).
The text was updated successfully, but these errors were encountered: