Re: SQL performance issue with PostgreSQL compared to - Mailing list pgsql-sql

From Josh Berkus
Subject Re: SQL performance issue with PostgreSQL compared to
Date
Msg-id 200206201700.26725.josh@agliodbs.com
Whole thread Raw
In response to Re: SQL performance issue with PostgreSQL compared to  (Achilleus Mantzios <achill@matrix.gatewaynet.com>)
List pgsql-sql
Achilleus,

> >  > The pgsql db is indexed on the
> > > 'authuser' field, and I've run 'analyze logfile'.
> >
> > He also needs to index the bytes field and the traffic field.  And run
>                                                  ^^^^^^^
>
> Index on an aggregate function???
>
> I though we could only index plain normal column iscachable functions.

No, you're correct.   I meant just to index on the bytes field.

--
-Josh Berkus



pgsql-sql by date:

Previous
From: David Stanaway
Date:
Subject: Re: how to sort a birthday list ?
Next
From: Josh Berkus
Date:
Subject: Re: how to sort a birthday list ?