[openstreetmap/openstreetmap-website] Why are some diff uploads slow? (#1710)
notifications at github.com
Fri Dec 22 10:45:52 UTC 2017
Can we get a slowlog published?
shared_preload_libraries = 'auto_explain'
auto_explain.log_min_duration = '100ms'
auto_explain.log_nested_statements = on
auto_explain.log_analyze = on
It also seems we can have transactions up to 1M seconds, or 12 days:
It can also be a reading transaction, say, a forgotten open psql on terminal.
`statement_timeout` and `idle_in_transaction_session_timeout` can help limit it, so it becomes application error traceable in application logs.
To get distribution of queries and keep sanity reading endless postgres logfiles: https://github.com/dalibo/pgbadger
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev