Creating an index on a live database

Поиск
Список
Период
Сортировка
От John McCawley
Тема Creating an index on a live database
Дата
Msg-id 45C8BCFC.3050108@hardgeus.com
обсуждение исходный текст
Ответы Re: Creating an index on a live database  (Alan Hodgson <ahodgson@simkin.ca>)
Список pgsql-general
I have a table with a few million rows which has inserts performed on it
roughly 50 or so times a minute.  It contains a heavily-queried column
that I would like to add an index to, but I am concerned about a
deadlock occurring.  Should I wait until downtime to add the index, or
is the Postgres add index command "nice" enough to avoid deadlocks?


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

Предыдущее
От: Jeff Amiel
Дата:
Сообщение: pg_restore single table privileges/indexes
Следующее
От: Alan Hodgson
Дата:
Сообщение: Re: pg_restore single table privileges/indexes