Re: 57 minute SELECT

Поиск
Список
Период
Сортировка
От ktm@rice.edu
Тема Re: 57 minute SELECT
Дата
Msg-id 20131003125918.GG16128@aart.rice.edu
обсуждение исходный текст
Ответ на Re: 57 minute SELECT  (Samuel Stearns <sstearns@staff.iinet.net.au>)
Список pgsql-performance
On Thu, Oct 03, 2013 at 04:19:29AM +0000, Samuel Stearns wrote:
> Thanks, Claudio.
>
> I'll have a look at the clustering.
>
> We have also noticed that the same query with a datetime range of 3 hours (rather than 4 months) runs in just 30
seconds:
>
> AND datetime <= '2013-10-03 10:03:49'
> AND datetime >= '2013-10-03 07:03:49'
>

Hi Samuel,

That is even worse performance relatively. 30s for a 3 hour range equals
28800s for a 4 month (2880 hours) range, or 8 hours. I definitely would
consider clustering.

Regards,
Ken


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

Предыдущее
От: Ivan Voras
Дата:
Сообщение: Re: 57 minute SELECT
Следующее
От: David Kerr
Дата:
Сообщение: Re: 57 minute SELECT