Re: 57 minute SELECT - Mailing list pgsql-performance

From ktm@rice.edu
Subject Re: 57 minute SELECT
Date
Msg-id 20131003125918.GG16128@aart.rice.edu
Whole thread Raw
In response to Re: 57 minute SELECT  (Samuel Stearns <sstearns@staff.iinet.net.au>)
List 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 by date:

Previous
From: Ivan Voras
Date:
Subject: Re: 57 minute SELECT
Next
From: David Kerr
Date:
Subject: Re: 57 minute SELECT