dropping an index inside a transaction

Поиск
Список
Период
Сортировка
От Andy Chambers
Тема dropping an index inside a transaction
Дата
Msg-id CAAfW55rncZLeW=7_Utbm7njxWtynHzAv71hgJDr_jszLNmVMQA@mail.gmail.com
обсуждение исходный текст
Ответы Re: dropping an index inside a transaction  (Scott Marlowe <scott.marlowe@gmail.com>)
Re: dropping an index inside a transaction  (Scott Marlowe <scott.marlowe@gmail.com>)
Список pgsql-general
Hi All,

If one drops an index inside a transaction, is that index still usable
by other transactions?  My use-case is loading millions of records
into a heavily indexed table.  I'd like to speed up the load by
temporarily dropping the indices.  I'm wondering if I can do this
inside a transaction so that the rest of the application can still
benefit from the indices.

Cheers,
Andy

--
Andy Chambers
Software Engineer
(e) achambers@mcna.net

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: One more query
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: dropping an index inside a transaction