| От | Thomas Lockhart |
|---|---|
| Тема | Re: pg_dump and transactions |
| Дата | |
| Msg-id | 3C9A114D.958FB380@fourpalms.org обсуждение |
| Ответ на | pg_dump and transactions (Ferdinand Smit <ferdinand@telegraafnet.nl>) |
| Список | pgsql-patches |
> > This (simple) patch creates (if the -T flag is set) a transaction of every
> > insert block, so de import is mostly 10 times faster.
> ... kinda seems like a kluge ...
I haven't looked at the patch to see if, for example, the -T flag takes
a tuple count to determine the size of the transaction blocks. But istm
that this is actually a very useful feature, even though it should not
be required as a direct result of Ferdinand's problems with the copy
functionality.
Why not have a feature which can increase the speed of an insert-style
import? We're not demanding that everyone use it, and we have someone
who went to the trouble to implement it.
- Thomas
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера