作者:夜-依晨_920 | 来源:互联网 | 2014-08-13 09:50
程序员必上的开发者服务平台 —— DevStore
pgBadger 6.0 发布,此版本解决了一些问题,同时添加了一些新特性:
Automatic cleanup of binary files in incremental mode.
Automatic handling of retention with a maximum number of weeks to keep reports.
Incremental mode improvement by allowing the use of multiprocessing with multiple log file.
Now reports the query latency percentiles on the general activity table (percentiles are 90, 95, 99).
A new output format: JSON. This format is good for sharing data with other tools.
Using the --anonymize option pgBadger will anonymize all literal values in the queries.
Add a click-to-select button in front of each query that allow to just use Ctrl+C to copy it on clipboard.
Several space usage improvement in incremental mode, the -X option allow the use of external CSS and Javascript files.
A new pgBadger logo
注意:pgBadger 的增量模式有所改变,现在总是清理所有废弃二进制文件的输出目录。如果用户使用这些废弃文件来构建报告,可以使用 --noclean 选项来阻止 pgBadger 移除那些文件。
完整更新日志请看:https://github.com/dalibo/pgbadger/blob/master/ChangeLog
相关链接:
pgBadger 是一个 PostgreSQL 数据库日志分析程序,可生成详细的报表和图表,旨在替换 pgFouine 脚本。
查看示例报表:http://projects.dalibo.org/pgbadger/example.html