Re: create index concurrently blocked by other query

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: create index concurrently blocked by other query
Дата
Msg-id 1409589.1711211842@sss.pgh.pa.us
обсуждение исходный текст
Ответ на create index concurrently blocked by other query  (James Pang <jamespang886@gmail.com>)
Ответы Re: create index concurrently blocked by other query
Список pgsql-admin
James Pang <jamespang886@gmail.com> writes:
>     PGv14, it's a time range partition table, we first create index ... on
> ONLY parent table and it's done very fast, then we are doing "create index
> concurrently ... on  each partition table", then we saw it blocked by some
> other sessopm  "select on other tables" , is it expected ?

Yes, read the documentation.  CONCURRENTLY avoids blocking other
transactions, at the cost of being easily blocked itself.

            regards, tom lane



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

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: Cursor with hold for select
Следующее
От: Keith
Дата:
Сообщение: Re: PG_PARTMAN - Create Child With FillFactor