Need help on Query Tunning and Not using the Index Scan

Поиск
Список
Период
Сортировка
От Kumar, Mukesh
Тема Need help on Query Tunning and Not using the Index Scan
Дата
Msg-id CH0P221MB047466D1A74C13298CD84B30DED39@CH0P221MB0474.NAMP221.PROD.OUTLOOK.COM
обсуждение исходный текст
Ответы Re: Need help on Query Tunning and Not using the Index Scan  (Laurenz Albe <laurenz.albe@cybertec.at>)
Список pgsql-performance

Hi Team,

 

We are facing an issue in running the query which takes at least 30 sec to run in PostgreSQL.

 

We have tried to create the indexes and done the maintenance and still that query is taking same time.

 

Below are the explain plan for the query.

 

https://explain.depesz.com/s/sPo2#html

 

We have noticed that maximum time it is takin is do a Seq Scan on Table ps_delay_statistic which consist of approx. 35344812 records .

 

Can anyone please help on the above issue.

 

Thanks and Regards,

Mukesh Kumar

 

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

Предыдущее
От: Justin Pryzby
Дата:
Сообщение: Re: DB connection issue suggestions
Следующее
От: aditya desai
Дата:
Сообщение: Selecting RAM and CPU based on max_connections