dropping an index inside a transaction

Поиск
Список
Период
Сортировка
Искать
От
Andy Chambers
Тема
dropping an index inside a transaction
Дата
Msg-id
CAAfW55rncZLeW=7_Utbm7njxWtynHzAv71hgJDr_jszLNmVMQA@mail.gmail.com
Список
Дерево обсуждения
dropping an index inside a transaction Andy Chambers <achambers@mcna.net>
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>
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
Дата:
FAQ