Re: *very* slow query to summarize data for a month ... - Mailing list pgsql-performance

From Marc G. Fournier
Subject Re: *very* slow query to summarize data for a month ...
Date
Msg-id 20031111141328.X56037@ganymede.hub.org
Whole thread Raw
In response to Re: *very* slow query to summarize data for a month ...  (Greg Stark <gsstark@mit.edu>)
Responses Re: *very* slow query to summarize data for a month ...  (Josh Berkus <josh@agliodbs.com>)
Re: *very* slow query to summarize data for a month ...  (Greg Stark <gsstark@mit.edu>)
List pgsql-performance
On Tue, 11 Nov 2003, Greg Stark wrote:

> Actually you might be able to get the same effect using function indexes
> like:
>
> create index i on traffic_log (month_trunc(runtime), company_id)

had actually thought of that one ... is it something that is only
available in v7.4?

ams=# create index i on traffic_logs ( month_trunc(runtime), company_id );
ERROR:  parser: parse error at or near "," at character 54


pgsql-performance by date:

Previous
From: Greg Stark
Date:
Subject: Re: *very* slow query to summarize data for a month ...
Next
From: Christopher Browne
Date:
Subject: Re: Suggestions for benchmarking 7.4RC2 against 7.3