Re: postgres 7.4 at 100%

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: postgres 7.4 at 100%
Дата
Msg-id 20040629132813.GA28041@wolff.to
обсуждение исходный текст
Ответ на Re: postgres 7.4 at 100%  (Chris Cheston <ccheston@gmail.com>)
Список pgsql-performance
On Tue, Jun 29, 2004 at 01:37:30 -0700,
  Chris Cheston <ccheston@gmail.com> wrote:
> ok i just vacuumed it and it's taking slightly longer now to execute
> (only about 8 ms longer, to around 701 ms).
>
> Not using indexes for calllogs(from)... should I?  The values for
> calllogs(from) are not unique (sorry if I'm misunderstanding your
> point).

If you are hoping for some other plan than a sequential scan through
all of the records you are going to need an index. You can have an
index on a column (or function) that isn't unique for all rows.

В списке pgsql-performance по дате отправления:

Предыдущее
От: Michal Táborský
Дата:
Сообщение: Slow INSERT
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: no index-usage on aggregate-functions?