Re: Slow queries on simple index

From: Andrei Lepikhov <lepihov(at)gmail(dot)com>
To: Lillian Berry <lillian(at)star-ark(dot)net>, pgsql-performance(at)lists(dot)postgresql(dot)org
Cc: infra(at)pluralkit(dot)me
Subject: Re: Slow queries on simple index
Date: 2026-01-17 20:21:36
Message-ID: 1d79d974-acfe-483c-81da-61989ed2f91b@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On 17/1/26 14:58, Lillian Berry wrote:
> Logs on our PostgreSQL cluster show frequent slow reads on a simple query by unique index.
>
> This issue has been present for some years, and survived multiple server moves as well as PostgreSQL version upgrades.
> Vacuuming or reindexing the table does not seem to help.
Hmm, where is the evidence that your query uses theindex? Maybe the
generic plan accidentally forces SeqScan?

--
regards, Andrei Lepikhov,
pgEdge

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Lillian Berry 2026-01-17 20:52:54 Re: Slow queries on simple index
Previous Message Lillian Berry 2026-01-17 19:33:32 Re: Slow queries on simple index