Re: Missing indexes

Поиск
Список
Период
Сортировка
От Alex Balashov
Тема Re: Missing indexes
Дата
Msg-id 8C52F074-25E7-4AA7-93C0-7606A1BA6F58@evaristesys.com
обсуждение исходный текст
Ответ на RE: Missing indexes  (Jean-Paul POZZI <jp.pozzi@izzop.net>)
Список pgsql-admin
Well, you've come to the right place. This list loves "feelings-based" diagnoses. :)

Two suggestions:

1) Turn on your "slow query log":

ALTER SYSTEM SET log_min_duration_statement = 50;
SELECT pg_reload_conf();

Then look at the Postgres log and see which statements may be running slowly.

2) Have a look at `SELECT * FROM pg_stat_activity` and get your bearings.

-- Alex

> On 1 Mar 2024, at 12:40, Jean-Paul POZZI <jp.pozzi@izzop.net> wrote:
>
> Hello,
>   Some examples of the "bad" sql text should be interesting ...
>  Regards
>
> De: "Harish Harish" <hpt3009@gmail.com>
> À: "undefined" <pgsql-admin@lists.postgresql.org>
> Envoyé: vendredi 1 mars 2024 17:39
> Objet: Missing indexes
>
> Dear Admins,
>   I need help. We are on Postgres 10. and have a feeling there are some indexes missing wich is causing performance
issue
>   Please help me find the missing index within  PostgreSQl 10.
>   Your timely help and support is much appreciated.
>   Best Regards,
> Hari

--
Alex Balashov
Principal Consultant
Evariste Systems LLC
Web: https://evaristesys.com
Tel: +1-706-510-6800




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

Предыдущее
От: Jean-Paul POZZI
Дата:
Сообщение: RE: Missing indexes
Следующее
От: Erik Wienhold
Дата:
Сообщение: Re: Missing indexes