Re: Partial index creation always scans the entire table
Sergei Kornilov <sk@zsrv.org>
From: Sergei Kornilov <sk@zsrv.org>
To: MingJu Wu <mingjuwu0505@gmail.com>, "pgsql-performance@lists.postgresql.org"
<pgsql-performance@lists.postgresql.org>
Date: 2020-02-15T12:47:51Z
Lists: pgsql-performance
Hello > When creating partial indexes, can postgres utilize another index for figuring which rows should be included in the partial index, 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
Commits
-
Doc: discourage use of partial indexes for poor-man's-partitioning.
- fb4815c066c8 12.3 landed
- bbce2912fa89 11.8 landed
- 6a8e5605b535 13.0 landed
- 1de4a823f9de 10.13 landed