Re: pg_dump and transactions
От | Bruce Momjian |
---|---|
Тема | Re: pg_dump and transactions |
Дата | |
Msg-id | 200203211443.g2LEhKF17911@candle.pha.pa.us обсуждение исходный текст |
Ответ на | pg_dump and transactions (Ferdinand Smit <ferdinand@telegraafnet.nl>) |
Ответы |
Re: pg_dump and transactions
|
Список | pgsql-patches |
Can you explain the COPY troubles you have had. Seems like a problem. What about this patch which batches INSERTS into transaction blocks? Seems if you are worried about performance, you should be using COPY. I am not inclined to apply it but rather find out why COPY isn't working for this person. --------------------------------------------------------------------------- Ferdinand Smit wrote: > Hi, > > We have lots of trouble with using the COPY dump, so we always use de INSERT > mode. Because the INSERT mode does'nt use transactions, this methode is very > slow. > > This (simple) patch creates (if the -T flag is set) a transaction of every > insert block, so de import is mostly 10 times faster. > > I hope you like it. > Regards, > > Ferdinand [ Attachment, skipping... ] > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
В списке pgsql-patches по дате отправления: