Re: CREATE INDEX uses INDEX ?

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: CREATE INDEX uses INDEX ?
Дата
Msg-id CAECtzeXdOJiyk3r5fuE7X-KSop9KSwL5hDdCK9Pr8uTApsjRow@mail.gmail.com
обсуждение исходный текст
Ответ на CREATE INDEX uses INDEX ?  (Nicolas Paris <niparisco@gmail.com>)
Ответы Re: CREATE INDEX uses INDEX ?
Список pgsql-performance

Le 7 mars 2015 11:32, "Nicolas Paris" <niparisco@gmail.com> a écrit :
>
> Hello,
>
> I wonder if the process of index creation can benefit from other indexes.
>

It cannot.

> EG: Creating a partial index with predicat based on a boolean column, will use an hypothetic index on that boolean column or always use a seq scan on all rows ?
>

Nope, it always does a seqscan.

> Goal is to create partial indexes faster.
>
> Explain command does not work with Create index.
>

You cannot use EXPLAIN on most DDL commands.

В списке pgsql-performance по дате отправления:

Предыдущее
От: Nicolas Paris
Дата:
Сообщение: CREATE INDEX uses INDEX ?
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: EXPLAIN (no ANALYZE) taking an hour for INSERT FROM SELECT