Re: Performance on DISABLE TRIGGER (resend)

Поиск
Список
Период
Сортировка
От gmb
Тема Re: Performance on DISABLE TRIGGER (resend)
Дата
Msg-id 1425406017358-5840247.post@n5.nabble.com
обсуждение исходный текст
Ответ на Re: Performance on DISABLE TRIGGER (resend)  ("Greg Sabino Mullane" <greg@turnstep.com>)
Список pgsql-general
Greg Sabino Mullane wrote
> Disabling triggers requires a heavy lock. A better way is to use
> the session_replication_role feature. See:
>
> http://blog.endpoint.com/2015/01/postgres-sessionreplication-role.html

This is a very effective solution to my problem. Thanks for the tip, Greg.



--
View this message in context: http://postgresql.nabble.com/Performance-on-DISABLE-TRIGGER-tp5839727p5840247.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


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

Предыдущее
От: Francisco Olarte
Дата:
Сообщение: Re:
Следующее
От: Francisco Olarte
Дата:
Сообщение: Re: Copy Data between different databases