Re: How to tune SQL performance of function based columns of a view

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: How to tune SQL performance of function based columns of a view
Дата
Msg-id 8afe1155bcc48e2491a1fef8e5af2f5d7d195fb6.camel@cybertec.at
обсуждение исходный текст
Ответ на [MASSMAIL]How to tune SQL performance of function based columns of a view  (M Sarwar <sarwarmd02@outlook.com>)
Ответы Re: How to tune SQL performance of function based columns of a view  (M Sarwar <sarwarmd02@outlook.com>)
Список pgsql-admin
On Sat, 2024-04-06 at 04:33 +0000, M Sarwar wrote:
> I am working on SQL performance issue.
>  
> After analyzing the results from the file, Explain-Analyze-Net-Temps-Slow-Response-Bao.xlsx,
> I tried to create several indexes one by one based on the possibility from Explain analyze
> results and none of them are helping in improving the performance of SQL.
> I am just trying to know what are the other approaches which I can use to resolve this performance issue.

According to my reading of the execution plan, the following index should help a lot:

  CREATE INDEX ON test_part_details_all_mcm_mid (serial_number, stage, temperature);

There might be more gains in rewriting whatever caused this subquery.

Yours,
Laurenz Albe



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

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: Work_mem
Следующее
От: Wolfgang Wilhelm
Дата:
Сообщение: Re: Dynamic views