bonjour,
j'aimerai installer pgFouine pour windows, mais je ne sais pas ou le telecharger..
sur le site officiel, il n'y a que le rpm ...
pourtant c'est du php
bonjour,
j'aimerai installer pgFouine pour windows, mais je ne sais pas ou le telecharger..
sur le site officiel, il n'y a que le rpm ...
pourtant c'est du php
Il y a eu justement une nouvelle version hier...
http://pgfoundry.org/frs/download.ph...ine-1.2.tar.gz
merci
je viens de l'installer, c'est génial.
j'aimerai faire des stats sur l'activité de la base :
http://pgfouine.projects.postgresql....le_hourly.html
Code : Sélectionner tout - Visualiser dans une fenêtre à part pgfouine.php -file logs_pgbench_20051211063633.log -report sample_hourly.html=overall,bytype,hourly -format html-with-graphs
comment faire pour obtenir les obtenir les logs_pgbench ?
Typiquement il faut mettre le paramètre de configuration log_statement à la valeur 'all' et log_duration à 'on' pour avoir dans les logs les infos exploitables par pgfouine.
ha merci
lors que j'excute :
PgFouine reponds :
Code : Sélectionner tout - Visualiser dans une fenêtre à part C:\wamp\www\pgfouine-1.2>C:\wamp\bin\php\php5.3.0\php.exe -q pgfouine.php -file E:\PostgreSQL\8.4\data\pg_log\postgresql-2010-02-26_151303.log -report sample_hourly.html=overall,bytype,hourly -format html-with-graphs > rapport.html
Alors j'ai modifié postgresql.conf :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7 pgFouine did not find any valid PostgreSQL log line in your log file: * check that PostgreSQL uses an english locale for logging (lc_messages in your postgresql.conf), * check that you use the -logtype option (syslog, stderr) according to your log file, * if you use syslog and log_line_prefix, check that your log_line_prefix has a t railing space, * if you use stderr, check that your log_line_prefix is of the form '%t [%p]: [%l-1] '. If you think your log file and your options are correct, please contact the author (gsmet on #postgresql@freenode or guillaume-pg at smet dot org).
lc_messages = 'en_US.UTF-8'
pour avoir les logs en englais, mais j'ai toujours la meme erreur....
Partager