| От | Bruno Wolff III |
|---|---|
| Тема | Re: psql vs perl prepared inserts |
| Дата | |
| Msg-id | 20050413143111.GA7225@wolff.to обсуждение исходный текст |
| Ответ на | Re: psql vs perl prepared inserts (Matt Van Mater <matt.vanmater@gmail.com>) |
| Список | pgsql-general |
On Wed, Apr 13, 2005 at 09:57:09 -0400, Matt Van Mater <matt.vanmater@gmail.com> wrote: > > Also, I forgot to mention earlier that I tried using transactions to > speed things up, but since I expect to see certain inserts fail I > would need to rework my code so the whole transaction doesn't fail if > one insert goes bad. This is somewhat contrary to the purpose of > transactions so I'm not sure how to accomplish this. I saw roughly a > 20% speed improvement by turning autocommit off and only committing at > the end of parsing each file. You might get a small benefit using savepoints in version 8.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера