Re: How to use index in simple select

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: How to use index in simple select
Дата
Msg-id 8d872370-4d70-4398-b234-fe60a740032a@aklaver.com
обсуждение исходный текст
Ответ на How to use index in simple select  (Andrus <kobruleht2@hot.ee>)
Список 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 по дате отправления: