Run one query and execution time is very different

Поиск
Список
Период
Сортировка
От Metatrader EA
Тема Run one query and execution time is very different
Дата
Msg-id CAJNXAk39CqDNv2GQA=Jb6=gDb4-EDoom_z754T9PCaS1N=xLmA@mail.gmail.com
обсуждение исходный текст
Список pgsql-performance
Hi,

I run one query and the execution is very different

Select messages
   from   mails_hist
   join   mails using (messages)
   where  message_date > '2016-07-19 00:00:00'
   and    message_date < '2016-10-17 00:00:00'
   Group by message;

message_date is one timestamp

Query gives around 6300 rows

What can I look for ?

//Bill

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

Предыдущее
От: Gabriela Serventi
Дата:
Сообщение: Re: Performance decrease after upgrade to 9.6.1
Следующее
От: Metatrader EA
Дата:
Сообщение: Query hangs sometimes