pgBadger - 参数说明

-a | --average minutes:数据聚合时间

官方说明:
 number of minutes to build the average graphs of queries and connections. Default 5 minutes

-A | --histo-average min:直方图数据生成间隔

官方说明:
number of minutes to build the histogram graphs of queries. Default 60 minutes.

-b | --begin datetime:要在日志中解析的数据的开始日期/时间

官方说明:
start date/time for the data to be parsed in log  (either a timestamp or a time)

-c | --dbclient host :只分析报告指定host的日志

官方说明:
only report on entries for the given client host.

-d | --dbname database:只分析报告指定数据库的日志

官方说明:
only report on entries for the given database.

-D | --dns-resolv:将客户端ip地址替换为其DNS名称,该配置会影响pgbager的分析性能

官方说明:
client ip addresses are replaced by their DNS name.Be warned that this can really slow down pgBadger.

你可能感兴趣的:(pgBadger - 参数说明)