| От | Arnau |
|---|---|
| Тема | Re: How import big amounts of data? |
| Дата | |
| Msg-id | 43B40C8F.6010100@andromeiberica.com обсуждение исходный текст |
| Ответ на | Re: How import big amounts of data? (Teemu Torma <teemu@torma.org>) |
| Ответы |
Re: How import big amounts of data?
|
| Список | pgsql-performance |
> > I am doing twice as big imports daily, and found the follwing method > most efficient (other than using copy): > > - Use plpgsql function to do the actual insert (or update/insert if > needed). > > - Inside a transaction, execute SELECT statements with maximum possible > number of insert function calls in one go. This minimizes the number > of round trips between the client and the server. Thanks Teemu! could you paste an example of one of those functions? ;-) An example of those SELECTS also would be great, I'm not sure I have completly understood what you mean. -- Arnau
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера