[GENERAL] Simple Query not using Primary Key Index

Поиск
Список
Период
Сортировка
От Podrigal, Aron
Тема [GENERAL] Simple Query not using Primary Key Index
Дата
Msg-id CANJp-ygBnTfynretdNwdAoyVJHa=etwVTLBHcz3YRV39GobG6w@mail.gmail.com
обсуждение исходный текст
Ответы Re: [GENERAL] Simple Query not using Primary Key Index  (Alban Hertroys <haramrae@gmail.com>)
Re: [GENERAL] Simple Query not using Primary Key Index  (Vitaly Burovoy <vitaly.burovoy@gmail.com>)
Re: [GENERAL] Simple Query not using Primary Key Index  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
Hi,

I noticed when I do a simple SELECT id FROM mytable WHERE id = 'cb81d070-4213-465f-b32e-b8db43b83a25'::UUID  Postgres does not use the primary key index and opts for a Seq Scan.

I of course did VACUUM ANALYZE and I have reset statistics But no sign. Is there any particular thing I should be looking at?

--

-
Aron Podrigal

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

Предыдущее
От: "Igal @ Lucee.org"
Дата:
Сообщение: Re: [GENERAL] BST Time Zone Discrepancy
Следующее
От: Alban Hertroys
Дата:
Сообщение: Re: [GENERAL] Simple Query not using Primary Key Index