| От | Sabin Coanda |
|---|---|
| Тема | Re: long transaction |
| Дата | |
| Msg-id | g7ttnc$1on8$1@news.hub.org обсуждение исходный текст |
| Ответ на | long transaction ("Sabin Coanda" <sabin.coanda@deuromedia.ro>) |
| Ответы |
Re: long transaction
|
| Список | pgsql-performance |
> > have you considered importing to a temporary 'holding' table with > copy, then doing 'big' sql statements on it to check constraints, etc? > Yes I considered it, but the problem is the data is very tight related between different tables and is important to keep the import order of each entity into the database. With other words, the entity imprt serialization is mandatory. In fact the import script doesn't keep just insert but also delete and update for different entities. So copy is not enough. Also using 'big' sql statements cannot guarantee the import order. Sabin
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера