github zubkov-andrei/pg_profile 4.7
Release 4.7

pre-release13 hours ago

pg_profile 4.7

This is pre-release. Tests are welcome. The most important change is the ability to skip pg_stat_statements_reset() call during a sample. Any feedback is welcome in discussions. It will help to create the final 4.7 release.

Installation

Provided file pg_profile--4.7.tar.gz is to be extracted into extension folder of postgresql installation:

sudo tar xzf pg_profile--4.7.tar.gz --directory $(pg_config --sharedir)/extension

You will need plpgsql and dblink extensions in your database, and pg_stat_statements extension if you need statements statistics. Then, you can create extension in postgresql database:

CREATE SCHEMA profile;
CREATE EXTENSION pg_profile SCHEMA profile;

If previous version of pg_profile is installed in your database, it can be updated:

ALTER EXTENSION pg_profile UPDATE;

Use provided pg_profile--4.7_manual.tar.gz file only for manual objects creation in restricted environments (when you have no file system access). Right now export and import functionalities is not supported in manually installed version.

For further setup and usage details refer to doc/pg_profile.md file

Grafana dashboards

You can use Grafana to visualize pg_profile samples data as time series. It will help you to find time intervals for reports. Dashboards are in pg_profile_grafana_4.6.tar.gz file.

Changelog

  • support of PostgreSQL 17 cluster statistics
  • support of pg_stat_statements 1.11
  • support of pg_stat_kcache 2.3.0
  • pg_stat_statements_reset() call can be skipped now
  • visualisation of session states timeline (@Djoongaar)
  • take_sample() function inherits lock_timeout setting
  • md5() hash replaced by sha224() to avoid errors in FIPS mode
  • other bugfixes #100, #105

Don't miss a new pg_profile release

NewReleases is sending notifications on new releases.