pgBadger - 一個快速的PostgreSQL日志分析器
pgBadger是一個快速的PostgreSQL日志分析器,能夠輸出PostgreSQL日志文件的完整詳細的報告。它是一個只有一個文件的Perl腳本,用于代替舊的PHP腳本 pgFouine。
Features
pgBadger報告你SQL查詢的一切:
- Overall statistics.
- The slowest queries.
- Queries that took up the most time.
- The most frequent queries.
- The most frequent errors.
下面的報告是分時走勢圖:
- Hourly queries statistics.
- Hourly temporary file statistics.
- Hourly checkpoints statistics.
- Locks statistics.
- Queries by type (select/insert/update/delete).
- Sessions per database/user/client.
- Connections per database/user/client.
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!