Re: Getting pg_stat_database data takes significant time

From: Vijaykumar Jain <vijaykumarjain(dot)github(at)gmail(dot)com>
To: depesz(at)depesz(dot)com
Cc: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Getting pg_stat_database data takes significant time
Date: 2021-08-11 13:22:15
Message-ID: CAM+6J94A7cHjGrD4bVUZz5WYKOdpZJpR_9BdfFeVso1SpMRy+g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Just taking a shot, as I have seen in some previous issues? Ignore is not
relevant.

Can you run vacuum on pg_class and check the query again , or do you see
pg_class bloated ?

The other option would be gdb backtrace I think that would help.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message hubert depesz lubaczewski 2021-08-11 13:29:56 Re: Getting pg_stat_database data takes significant time
Previous Message hubert depesz lubaczewski 2021-08-11 13:12:47 Getting pg_stat_database data takes significant time