Update README.md

This commit is contained in:
Thomas Menard 2016-03-18 16:09:34 +01:00
parent d8eb695772
commit ab9fe2a41e
1 changed files with 7 additions and 5 deletions

View File

@ -112,13 +112,15 @@ using postgreql extensions ([pg_stat_statements](http://www.postgresql.org/docs/
tagvalue="db" tagvalue="db"
``` ```
- postgresql.conf : # Postgresql Side
postgresql.conf :
``` ```
shared_preload_libraries = 'pg_stat_statements,pg_stat_kcache' shared_preload_libraries = 'pg_stat_statements,pg_stat_kcache'
``` ```
- In the database (can be a specific monitoring db) Please follow the requirements to setup those extensions.
In the database (can be a specific monitoring db)
``` ```
create extension pg_stat_statements; create extension pg_stat_statements;
create extension pg_stat_kcache; create extension pg_stat_kcache;
@ -129,7 +131,7 @@ create extension pg_proctab;
- pg_stat_kcache is available on the postgresql.org yum repo - pg_stat_kcache is available on the postgresql.org yum repo
- pg_proctab is available at : https://github.com/markwkm/pg_proctab - pg_proctab is available at : https://github.com/markwkm/pg_proctab
- Views ##Views
- Blocking sessions - Blocking sessions
``` ```
CREATE OR REPLACE VIEW public.blocking_procs AS CREATE OR REPLACE VIEW public.blocking_procs AS