Re: Slow query performance on large table - Mailing list pgsql-performance

From Andrew Sullivan
Subject Re: Slow query performance on large table
Date
Msg-id 20030304101529.D32416@mail.libertyrms.com
Whole thread Raw
In response to Slow query performance on large table  ("Paul McKay" <paul_mckay@clearwater-it.co.uk>)
List pgsql-performance
On Tue, Mar 04, 2003 at 02:45:18PM -0000, Paul McKay wrote:
>
> Select time,value
>
> >From measurement
>
> Where assessment = ?
>
> And time between ? and ?
>

Please run this with EXPLAIN ANALYSE with values that slow the query
down.  By bet is that you have an index which needs wider statistics
setting on the column to be useful, but without the output from
EXAPLIN ANALYSE it'll be hard to tell.

A

--
----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110


pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: Slow query performance on large table
Next
From: "Paul McKay"
Date:
Subject: Re: Slow query performance on large table