pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Joel Fradkin <jfradkin@wazagua.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Speeds using a transaction vrs not
Date: Wed, 23 Feb 2005 08:02:48 +0000
Message-ID: <421C38A8.5010809@archonet.com> (raw)
In-Reply-To: <004301c5192c$a3c3f0f0$797ba8c0@jfradkin>
References: <004301c5192c$a3c3f0f0$797ba8c0@jfradkin>

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



view thread (6+ messages)  latest in thread

Message-ID: <421C38A8.5010809@archonet.com>
Permalink:  ../421C38A8.5010809@archonet.com/
Also on:    postgresql.org/message-id/421C38A8.5010809@archonet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: dev@archonet.com, jfradkin@wazagua.com
  Subject: Re: Speeds using a transaction vrs not
  In-Reply-To: <421C38A8.5010809@archonet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox