Re: SQL performance issue with PostgreSQL compared to

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: SQL performance issue with PostgreSQL compared to
Дата
Msg-id 200206201700.26725.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: SQL performance issue with PostgreSQL compared to  (Achilleus Mantzios <achill@matrix.gatewaynet.com>)
Список 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 по дате отправления:

Предыдущее
От: David Stanaway
Дата:
Сообщение: Re: how to sort a birthday list ?
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: how to sort a birthday list ?