pgBadger: High-Performance PostgreSQL Log Analyzer icon

pgBadger: High-Performance PostgreSQL Log Analyzer

pgBadger is a fast and efficient PostgreSQL log analysis tool designed to generate detailed reports and insightful graphs from PostgreSQL log files. Written in Perl, it supports multiple log formats, parallel processing, and remote log parsing, making it an essential tool for database administrators seeking to optimize performance and troubleshoot issues effectively.

Features

Comprehensive statistical reports on SQL queries, including slowest queries, cancellation rates, and error distribution.

Support for various log formats (syslog, stderr, csvlog, jsonlog) and remote log parsing via SSH.

Incremental reporting with daily and weekly summaries, as well as cumulative monthly reports.

Graphical output with zoomable charts and the ability to export in multiple formats (HTML, JSON, etc.).

Parallel processing capabilities to speed up log parsing, allowing efficient handling of large log files.

Repository Details

3,572
350
Updated: 11/28/2024

Languages

Perl
JavaScript
CSS
Raku

Topics

postgresql
perfomance
tuning
sql
log

License

PostgreSQL License