| От | Chris Hutchinson |
|---|---|
| Тема | Re: transaction blocking inserts in postgresql 7.3 |
| Дата | |
| Msg-id | IDEOKBCDGGIDOBADNGAPOECGDHAA.chris@hutchinsonsoftware.com обсуждение |
| Ответ на | Re: transaction blocking inserts in postgresql 7.3 (Jeff Eckermann <jeff_eckermann@yahoo.com>) |
| Ответы |
Re: transaction blocking inserts in postgresql 7.3
|
| Список | pgsql-general |
Thanks to everyone for their suggestions on dealing with inserts blocked by index locking. My eventual solution was to remove the REFERENCES constraints on the affected tables and move referential integrity into the application - not ideal, but faster to implement than the alternatives. Suggested solutions were: * Load file into temporary table, and insert into primary table from temporary (Dennis Gearon, David Olberson) * Convert data to insert statements and (I think) run each in a separate transaction (Jeff Eckerman)
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера