Re: Partial index creation always scans the entire table - Mailing list pgsql-performance

From Sergei Kornilov
Subject Re: Partial index creation always scans the entire table
Date
Msg-id 10506951581770871@sas1-c38703ca5585.qloud-c.yandex.net
Whole thread Raw
In response to Partial index creation always scans the entire table  (MingJu Wu <mingjuwu0505@gmail.com>)
List pgsql-performance
Hello

> When creating partial indexes, can postgres utilize another index for figuring which rows should be included in the
partialindex, without performing a full table scan?
 

No.
create index always perform a seqscan on table. And two full table scan for create index concurrently.

regards, Sergei



pgsql-performance by date:

Previous
From: MingJu Wu
Date:
Subject: Partial index creation always scans the entire table
Next
From: Justin Pryzby
Date:
Subject: Re: Partial index creation always scans the entire table