Skip to content

Instantly share code, notes, and snippets.

@elnur
Created April 18, 2017 06:19
Show Gist options
  • Save elnur/17db0f679257dc6b74b8108a8008b9c1 to your computer and use it in GitHub Desktop.
Save elnur/17db0f679257dc6b74b8108a8008b9c1 to your computer and use it in GitHub Desktop.
PG Auto Explain Slow Queries
shared_preload_libraries = 'auto_explain'
auto_explain.log_min_duration = 100
auto_explain.log_analyze = true
auto_explain.log_verbose = true
auto_explain.log_nested_statements = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment