pgbadger VS pg_wait_sampling

Compare pgbadger vs pg_wait_sampling and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
pgbadger pg_wait_sampling
6 3
3,382 132
- 0.8%
7.9 5.6
about 2 months ago 6 months ago
Perl C
PostgreSQL License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

pgbadger

Posts with mentions or reviews of pgbadger. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-11.
  • Site down due hosted on digitalocean
    1 project | /r/django | 30 Jun 2023
    It might also help to use pgbadger or something similar to process your postgres logs and see whether some event is aligned with your outages.
  • SQL: 2023 Has Been Released
    1 project | news.ycombinator.com | 1 Jun 2023
    Interestingly, when a place does get to the point where the single instance has capacity issues (after upgrading to EPYC and lots of flash drives) then other non-obvious stuff shows up too.

    For example, at one place just over a year ago they were well into this territory. One of weird problems for them was with pgBadger's memory usage (https://github.com/darold/pgbadger). That's written in perl, which doesn't seem to go garbage collection well. So even on a reporting node with a few hundred GB's of ram, it could take more than 24 hours to do a "monthly" reporting run.

    There wasn't a solution in place at the time I left, so they're probably still having the issue... ;)

  • Moving from Oracle to Postgres, what should I know?
    5 projects | /r/PostgreSQL | 11 Jul 2022
  • What are the top 3 most useful things that you have hosted over the years?
    11 projects | /r/selfhosted | 24 Jan 2022
    First of all I used a profiler (pgbadger and netdata) to figure out where the lags were coming from. I then tried the usual stuff (increasing shared_buffers, max_wal_size, min_wal_size from their ultra low defaults), but the biggest performance gain came from moving the database from eMMC to a mechanical hard drive :-D
  • Best way to find queries that might benefit from indexes.
    1 project | /r/PostgreSQL | 22 Apr 2021
    Look into PgBadger (a log parser/analyser): https://github.com/darold/pgbadger

pg_wait_sampling

Posts with mentions or reviews of pg_wait_sampling. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-11.

What are some alternatives?

When comparing pgbadger and pg_wait_sampling you can also consider the following projects:

pgaudit_analyze - PostgreSQL Audit Analyzer

pg_profile - Postgres historic workload reports

Mailcow - mailcow: dockerized - 🐮 + 🐋 = 💕

pg_show_plans - Show query plans of all currently running SQL statements

minion - :octopus: Perl high performance job queue

pgsentinel - postgresql extension providing Active session history

postgresqltuner - Simple script to analyse your PostgreSQL database configuration, and give tuning advice

powa - PostgreSQL Workload Analyzer

Octopussy - Octopussy - Open Source Log Management Solution

hstr - bash and zsh shell history suggest box - easily view, navigate, search and manage your command history.

apache2buddy - apache2buddy

pgBackRest - Reliable PostgreSQL Backup & Restore