darold/pgbadger

A fast PostgreSQL Log Analyzer

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 2 minutes ago
Added to GitGenius on September 17th, 2026
Created on April 11th, 2012
Open Issues & Pull Requests: 23 (+0)
GitHub issues: Enabled
Number of forks: 377
Total Stargazers: 4,063 (+0)
Total Subscribers: 103 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 5.0 days
Mean response time: 81.8 days
90th percentile: 226.3 days
Tracked items: 53

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 12
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 344 days
Stale 30+ days: 10
Stale 90+ days: 10

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • feature request (3)
  • enhancement (2)

Most active issues this week

Detailed Description

pgBadger is a fast PostgreSQL log analyzer that generates detailed reports and graphs from PostgreSQL server logs.

The tool addresses the challenge of understanding PostgreSQL performance by parsing server logs and extracting actionable insights. It accepts log files as input—either individual files, multiple files, or output from shell commands—and can also read from stdin. The analyzer processes these logs to identify performance bottlenecks, slow queries, and other diagnostic information, presenting findings through both text summaries and visual graphs.

Developers managing PostgreSQL instances should choose pgBadger when they need to analyze query performance and diagnose database issues from log data. It suits projects where log-based performance tuning is part of the operational workflow. The tool supports parallel processing for handling large log volumes efficiently, incremental reporting to update analyses without reprocessing entire logs, and both JSON and binary output formats for integration with other tools and systems. It also handles CSV-formatted logs, though stdin input does not work with csvlog format.

The project maintains steady activity with regular updates addressing bug fixes and feature refinements. Development includes ongoing improvements to the analysis engine and output capabilities. The codebase remains actively maintained with attention to performance optimization and compatibility with current PostgreSQL versions.