How to generate slow query report Like Pg_badger analysis on Azure postgres Flexible server

Mani Mahesh Sivakumar 56 Reputation points
2023-02-14T11:19:14.8033333+00:00

Hi team,

We have a requirement of catching and analyzing slow running queries in Azure postgres flexible server. We are trying to use Pgbadger (parsing tool) for analyzing the slow queries through logs. Is there any inbuilt azure tool for analyzing and finding out slow queries? Otherwise kindly suggest a way to generate pg_badger report in azure flexible server

Thanks and regards,

Manimahesh S

Azure Database for PostgreSQL
{count} votes

3 answers

Sort by: Most helpful
  1. Mani Mahesh Sivakumar 56 Reputation points
    2023-02-15T03:39:38.3533333+00:00

    @GeethaThatipatri-MSFT

    Yes I want to view slow queries for past day only. Can you share steps to use pg_qs/ iperf. Whether we can generate report of slow and blocking queries using that tool.

    Kindly help

    Thanks and regards,

    Manimahesh S

    0 comments No comments

  2. GeethaThatipatri-MSFT 29,387 Reputation points Microsoft Employee
    2023-02-15T21:58:59.3033333+00:00

    @Mani Mahesh Sivakumar Thanks for the information,

    You can follow the steps provided in this document

    Regards

    Geetha


  3. Alicja Kucharczyk 0 Reputation points
    2023-04-21T09:06:06.38+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.