• Home
  • Technology support
  • Dynatrace Extensions
  • Supported out of the box
  • PostgreSQL monitoring

PostgreSQL monitoring

Dynatrace PostgreSQL monitoring provides you with deep visibility into the performance of your PostgreSQL databases.

Prerequisites

  • See list of supported PostgreSQL versions

Viewing PostgreSQL monitoring metrics

Captured PostgreSQL metrics are displayed on each PostgreSQL Process page. Click the infographic or the PostgreSQL metrics and Further details tabs to view metric details.

Collected metrics

Active connectionsNumber of active connections to all databases running under PostgreSQL
Buffer hitNumber of times disk blocks were found in buffer cache so that a read was not necessary (only includes hits in the PostgreSQL buffer cache, not the OS file system cache)
Cache hits ratioPercentage of accesses that result in cache hits
Block readsNumber of disk blocks read in the database per second
Rows returned by index scansNumber of live rows fetched by index scans
Rows updatedNumber of rows updated by queries in the database per second
Rows insertedNumber of rows inserted by queries in the database per second
Rows deletedNumber of rows deleted by queries in the database per second
Rows returned by sequential scansNumber of sequential scans fetched on the table per second
Index scansNumber of index scans initiated on the table per second
CommitsNumber of transactions committed to the database per second
RollbacksNumber of rolled-back transactions in the database per second

Enabling PostgreSQL monitoring

To enable PostgreSQL monitoring globally:

  1. In the Dynatrace menu, go to Settings.
  2. Select Monitoring > Monitored technologies.
  3. Find PostgreSQL and enter your PostgreSQL server Database name, User, and Password credentials.
    No special privileges are required, just user “Can login” privileges.
  4. Turn on the PostgreSQL switch to enable monitoring with the plugin.
  5. Select Save.
    Dynatrace will verify the credentials and begin collecting PostgreSQL metrics.

Note: With PostgreSQL monitoring enabled globally, when a new host running PostgreSQL is detected in your environment, Dynatrace automatically collects PostgreSQL metrics, assuming that the same credentials are used by the PostgreSQL server or a new DB.

Dynatrace also allows you to enable PostgreSQL monitoring for specific hosts rather than globally. To do this, first disable the global PostgreSQL monitoring setting explained above. Then click the Host settings link and select a host you want to start PostgreSQL monitoring on. Follow the same steps as for global configuration.

Related topics
  • PostgreSQL monitoring