[GENERAL] Simple Query not using Primary Key Index - Mailing list pgsql-general

From Podrigal, Aron
Subject [GENERAL] Simple Query not using Primary Key Index
Date
Msg-id CANJp-ygBnTfynretdNwdAoyVJHa=etwVTLBHcz3YRV39GobG6w@mail.gmail.com
Whole thread Raw
Responses 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>)
List 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 by date:

Previous
From: "Igal @ Lucee.org"
Date:
Subject: Re: [GENERAL] BST Time Zone Discrepancy
Next
From: Alban Hertroys
Date:
Subject: Re: [GENERAL] Simple Query not using Primary Key Index