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 Erwin Brandstetter <brsaweda@gmail.com>
Re: how to speed up query Erwin Brandstetter <brsaweda@gmail.com>
Re: how to speed up query "Andrus" <kobruleht2@hot.ee>
Re: how to speed up query Erwin Brandstetter <brsaweda@gmail.com>
Re: how to speed up query "Andrus" <kobruleht2@hot.ee>
Re: how to speed up query Erwin Brandstetter <brsaweda@gmail.com>
Re: how to speed up query "Andrus" <kobruleht2@hot.ee>
Re: how to speed up query Tom Lane <tgl@sss.pgh.pa.us>
Re: how to speed up query "Andrus" <kobruleht2@hot.ee>
Re: how to speed up query "Andrus" <kobruleht2@hot.ee>
Re: how to speed up query Erwin Brandstetter <brsaweda@gmail.com>
Re: how to speed up query "Andrus" <kobruleht2@hot.ee>
Re: how to speed up query Martijn van Oosterhout <kleptog@svana.org>
Re: how to speed up query "Andrus" <kobruleht2@hot.ee>
Re: how to speed up query Erwin Brandstetter <brsaweda@gmail.com>
Re: how to speed up query "Andrus" <kobruleht2@hot.ee>
Re: how to speed up query Tom Lane <tgl@sss.pgh.pa.us>
Re: how to speed up query "Andrus" <kobruleht2@hot.ee>
Re: how to speed up query Andrew Sullivan <ajs@crankycanuck.ca>
Re: how to speed up query "Andrus" <kobruleht2@hot.ee>
Re: how to speed up query "Andrus" <kobruleht2@hot.ee>
On Jun 11, 2:01 pm, "Andrus"  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
FAQ