Missing slowest queries report
Is there some flag I need to enable to see the slowest queries report? I've the following postgres,conf:
log_destination = 'stderr' logging_collector = on log_min_duration_statement = 0 log_line_prefix = '%t [%p]: [%l-1] ' log_statement = 'all'
I run the tool:
[root@host pgbadger-3.6]# perl pgbadger -j 2 -v /var/lib/pgsql/9.2/data/pg_log/postgresql-Mon.log DEBUG: Autodetected log format 'stderr' from /var/lib/pgsql/9.2/data/pg_log/postgresql-Mon.log DEBUG: Output 'html' reports will be written to out.html DEBUG: Starting progressbar writer process DEBUG: Starting to parse log file: /var/lib/pgsql/9.2/data/pg_log/postgresql-Mon.log DEBUG: Starting reading file /var/lib/pgsql/9.2/data/pg_log/postgresql-Mon.log... DEBUG: Starting to parse log file: /var/lib/pgsql/9.2/data/pg_log/postgresql-Mon.log DEBUG: Starting reading file /var/lib/pgsql/9.2/data/pg_log/postgresql-Mon.log... [==================> ] Parsed 1452193257 bytes of 1915937215 (75.80%), queries: 2561335, events: 0
But this is the only stats in out.html:
Overall statistics | Hourly statistics | Queries by type | Most frequent queries (N) |
I saw on other that
log_statement = 'none'
should solve it. It did :-)