Re: why Sequencial Scan when selecting on primary key of table?

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: why Sequencial Scan when selecting on primary key of table?
Дата
Msg-id 20030531180235.GF22469@libertyrms.info
обсуждение исходный текст
Ответ на Re: why Sequencial Scan when selecting on primary key of table?  ("Brian Tarbox" <btarbox@theworld.com>)
Ответы are views typically any faster/slower than equivilent joins?  ("Brian Tarbox" <btarbox@theworld.com>)
Список pgsql-performance
On Sat, May 31, 2003 at 01:45:50PM -0400, Brian Tarbox wrote:
> The primary key field is an integer and I have performed vacuum analyse but
> that does not seem to change anything.

int4?  int8?  int2?  Makes a difference.  Please post the results of
EXPLAIN ANALYSE on the query you're having trouble with, and someone
may be able to help you.  (You'll need to show us the table, too.)

> I've also heard that postgres will not indexes when JOINing tables.  Can
> that really be true??

No.

A

--
----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: why Sequencial Scan when selecting on primary key of table?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: why Sequencial Scan when selecting on primary key of table?