Re: High latency and profiling

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: High latency and profiling
Дата
Msg-id 938cf470050825d031f624b57f6ca46949304691.camel@cybertec.at
обсуждение исходный текст
Ответ на High latency and profiling  (Roberto Nunnari <robi@nunnari.ch>)
Ответы Re: High latency and profiling
Список pgsql-general
On Thu, 2025-10-09 at 19:25 +0200, Roberto Nunnari wrote:
> I was notified about high latency on one of our PostgreSQL clusters.
> This latency is observed from the application and has been increasing.
> There is no indication about the exact database as the application uses
> several DBs, but the largest and most used is 'mydb'.
>
> Developers report that their software is already optimized and database
> size is not a problem. They suggest the issue might be inside PostgreSQL
> itself.

That may be true, but it need not be true.  The developers' statement
sounds a bit overconfident.

> Could somebody help me understand what is causing the growing latency?

For that, you have to identify the statements that run longer than they
should.  Then examine them with EXPLAIN (ANALYZE, BUFFERS), figure out what
makes them slow and improve them.

Yours,
Laurenz Albe



В списке pgsql-general по дате отправления: