Re: How to use index in simple select - Mailing list pgsql-general

From Adrian Klaver
Subject Re: How to use index in simple select
Date
Msg-id 8d872370-4d70-4398-b234-fe60a740032a@aklaver.com
Whole thread Raw
In response to How to use index in simple select  (Andrus <kobruleht2@hot.ee>)
List pgsql-general
On 11/29/25 09:47, Andrus wrote:
> Hi!
> 
>> Seems to be already answered:
>>
>> "It looks like reindex table firma2.klient restored index scan. create 
>> index concurrently was used when lot of transactions using this table 
>> where running"
>>
> Is it possible that reindex changes query from sequential scan to use 
> index ?

More likely it was one of the build index concurrently caveats detailed 
here:

https://www.postgresql.org/docs/current/sql-createindex.html#SQL-CREATEINDEX-CONCURRENTLY

> 
> Andrus.
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: Andrus
Date:
Subject: Re: How to use index in simple select
Next
From: Stuart Campbell
Date:
Subject: Check whether a NOT NULL check constraint has been validated