Re: Speeds using a transaction vrs not

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Speeds using a transaction vrs not
Дата
Msg-id 421C38A8.5010809@archonet.com
обсуждение исходный текст
Ответ на Speeds using a transaction vrs not  ("Joel Fradkin" <jfradkin@wazagua.com>)
Ответы Re: Speeds using a transaction vrs not  ("Joel Fradkin" <jfradkin@wazagua.com>)
Список pgsql-sql
Joel Fradkin wrote:
> I wrote a .net program to move my data to postgres (works great on
> SQ_ASCII).
> 
> In fiddling around I tried it using the odbc driver and a transaction
> originally, but converted it to using the .net connectivity but no
> transaction.
> 
> What I found was it moved my database (4 gig in MSSQL) in 2 hours using the
> .net, but 12 hours with the odbc and transaction.

You *are* using transactions, you don't have a choice. Did you do the 
transfer of all 4GB in ONE transaction with the ODBC? Please describe 
the process in more detail.

--  Richard Huxton  Archonet Ltd


В списке pgsql-sql по дате отправления:

Предыдущее
От: Pavel Rabel
Дата:
Сообщение: Re: Trigger
Следующее
От: Oliver Brück
Дата:
Сообщение: Re: No triggers visible for different user in information_schema.triggers