| От | Thomas Hart |
|---|---|
| Тема | Re: batch insert/update |
| Дата | |
| Msg-id | 4772D1D5.5070307@coopfed.org обсуждение исходный текст |
| Ответ на | Re: batch insert/update (Ivan Sergio Borgonovo <mail@webthatworks.it>) |
| Список | pgsql-general |
Ivan Sergio Borgonovo wrote: > > What if you know in advance what are the row that should be inserted > and you've a batch of rows that should be updated? > > Is it still the fasted system to insert them all in a temp table with > copy? > > What about the one that have to be updated if you've all the columns, > not just the changed ones? > Is it faster to delete & insert or to update? > > updates comes with the same pk as the destination table. > > thx > We heard you the first time -- Tom Hart IT Specialist Cooperative Federal 723 Westcott St. Syracuse, NY 13210 (315) 471-1116 ext. 202 (315) 476-0567 (fax)
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера