Re: how to speed up query

Поиск
Список
Период
Сортировка
От Erwin Brandstetter
Тема Re: how to speed up query
Дата
Msg-id 1181596253.236092.286790@h2g2000hsg.googlegroups.com
обсуждение исходный текст
Ответ на how to speed up query  ("Andrus" <kobruleht2@hot.ee>)
Ответы Re: how to speed up query  ("Andrus" <kobruleht2@hot.ee>)
Список pgsql-general
On Jun 11, 2:01 pm, "Andrus" <kobrule...@hot.ee> wrote:
(...)
> > This index makes no sense at all:
> > CREATE INDEX dok_dokumnr_idx  ON firma1.dok  USING btree (dokumnr);
>
> I listed table structure and constraints partially.
> Theis is also primary key constraint in dok table:
>
>  CONSTRAINT dok_pkey PRIMARY KEY (dokumnr),


On a sidenote: this primary implements a unique index anyway. The
additional index is useless. You can delete it to save time and
storage.
(Or maybe this is just another discrepancy between reality and problem
description.)


Regards
Erwin


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

Предыдущее
От: Jonathan Vanasco
Дата:
Сообщение: Re: list all columns in db
Следующее
От: Erwin Brandstetter
Дата:
Сообщение: Re: how to speed up query