hypopg VS pgaudit

Compare hypopg vs pgaudit 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
hypopg pgaudit
6 5
1,239 1,183
13.1% 3.0%
5.0 5.0
6 days ago 15 days ago
C C
GNU General Public License v3.0 or later 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.

hypopg

Posts with mentions or reviews of hypopg. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-13.
  • Show HN: PostgreSQL Index Advisor
    6 projects | news.ycombinator.com | 13 Apr 2024
    It works particularly well with pg_stat_statements[0] which tracks execution statistics of all SQL statements executed on your Postgres database.

    It leans heavily on HypoPG[1], an excellent extension to determine if PostgreSQL will use a given index without spending resources to create them.

    [0] pg_stat_statements: https://www.postgresql.org/docs/current/pgstatstatements.htm...

    [1] https://github.com/HypoPG/hypopg

  • YugabyteDB hypopg: hypothetical indexes
    1 project | dev.to | 4 Nov 2022
    This is an introduction to the hypopg PostgreSQL extension for YugabyteDB 2.15.3.0. Hypopg allows the creation of hypothetical indexes, so indexes that do not really exist. This means this allows you to see what an index would do if it were created, without it actually being created, and therefore not influencing anything on the database. YugabyteDB 2.15.3.0 is a preview version of the YugabyteDB database.
  • The SQLite Index Suggester
    2 projects | news.ycombinator.com | 5 Jul 2022
  • Why Can't Database Tables Index Themselves?
    2 projects | news.ycombinator.com | 5 Jul 2022
    There's a lot of good ecosystem stuff around this:

    https://github.com/HypoPG/hypopg

    HypoPG is a PostgreSQL extension adding support for hypothetical indexes.

    An hypothetical -- or virtual -- index is an index that doesn't really exists, and thus doesn't cost CPU, disk or any resource to create. They're useful to know if specific indexes can increase performance for problematic queries, since you can know if PostgreSQL will use these indexes or not without having to spend resources to create them.

    With one approach to using it here: https://www.percona.com/blog/2019/07/22/automatic-index-reco...

  • Postgres Indexes for Newbies
    1 project | news.ycombinator.com | 19 Jan 2022
  • PostgreSQL Explain Output Explained
    2 projects | news.ycombinator.com | 28 May 2021

pgaudit

Posts with mentions or reviews of pgaudit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-24.
  • Show HN: I built this Postgres logger for you guys to check out
    2 projects | news.ycombinator.com | 24 Aug 2023
    I think pgAudit it still the best and it's not a major issue. You can try my PR that fixes this issue https://github.com/pgaudit/pgaudit/pull/219 it should work and it should handle the other types of SELECT's that need update permissions but are not actually updating anything https://pglocks.org/?pglock=RowShareLock
  • PgAudit: Open-Source PostgreSQL Audit Logging
    1 project | news.ycombinator.com | 10 Aug 2023
  • Auditing CREATE/DROP DATABASE
    1 project | /r/PostgreSQL | 20 Feb 2023
  • How Postgres Audit Tables Saved Us from Taking Down Production
    4 projects | news.ycombinator.com | 26 Oct 2021
    You can use pgaudit, it's an extension that let's you audit DDL/DML statements. It's a great auditing mechanism. I use it on all our prod postgres instances, but have only "DML" enabled, because of the potential performance overhead

    https://github.com/pgaudit/pgaudit

  • Auditing PostgreSQL Using pgAudit
    1 project | dev.to | 18 Jan 2021
    pgAudit, with all its capabilities, simplifies the process of auditing by generating the audit trail log. Though there are a few caveats, like logging of renamed objects under the same name, it is still a robust tool that provides the required functionality. However, the audit information written in logs may not be just ideal for the auditing process - the auditing process is even better when those logs can be converted to a database schema, and audit data can be loaded to the database so you can easily query the information. This is where the PostgreSQL Audit Log Analyzer (pgAudit Analyze) is helpful. For more information, refer to the github pages of pgAudit and pgAudit Analyze.

What are some alternatives?

When comparing hypopg and pgaudit you can also consider the following projects:

pev2 - Postgres Explain Visualizer 2

pgaudit_analyze - PostgreSQL Audit Analyzer

ruby-pg - A PostgreSQL client library for Ruby

psycopg2 - PostgreSQL database adapter for the Python programming language

sqlite-wf - Simple visual ETL tool

debezium - Change data capture for a variety of databases. Please log issues at https://issues.redhat.com/browse/DBZ.

orafce - The "orafce" project implements in Postgres some of the functions from the Oracle database that are missing (or behaving differently).Those functions were verified on Oracle 10g, and the module is useful for production work.

temporal_tables - Temporal Tables PostgreSQL Extension

idx - maps, sets and vectors with on-demand secondary indexes.

plpgsql_check - plpgsql_check is a linter tool (does source code static analyze) for the PostgreSQL language plpgsql (the native language for PostgreSQL store procedures).