473,503 Members | 2,142 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Transferring Data from Sql Server 2000 to IBM db2 udb

Hi all

I'm trying to transfer data from sqlserver 2000 to ibm db2 AIX 8.1.4
using dts packages
This works when I use db2 ole db drivers but the problem is that the
transfer is very slow as the rows are committed 1 by 1. I want to use
th odbc driver but it doesn't seem to work.

Has anyone experienced this? any ideas to speed up the transfer or
use odbc driver instead of ole db ?

Thanks
Lyn
Nov 12 '05 #1
7 3543
Turn off autocommit by calling the StartTransaction method.

ODBC may be faster, but given the need to move data across the network from
Windows to AIX, I suspect that any performance gain in using a lower level
database API will be totally swamped by the network delays and time spend in
the network code. In addition, as you probably have a one-off migration, the
additional coding time is also a factor.

"Lyn Duong" <ly**@tablimited.com.au> wrote in message
news:8d**************************@posting.google.c om...
Hi all

I'm trying to transfer data from sqlserver 2000 to ibm db2 AIX 8.1.4
using dts packages
This works when I use db2 ole db drivers but the problem is that the
transfer is very slow as the rows are committed 1 by 1. I want to use
th odbc driver but it doesn't seem to work.

Has anyone experienced this? any ideas to speed up the transfer or
use odbc driver instead of ole db ?

Thanks
Lyn

Nov 12 '05 #2
Lyn Duong wrote:
Hi all

I'm trying to transfer data from sqlserver 2000 to ibm db2 AIX 8.1.4
using dts packages
This works when I use db2 ole db drivers but the problem is that the
transfer is very slow as the rows are committed 1 by 1. I want to use
th odbc driver but it doesn't seem to work.

Has anyone experienced this? any ideas to speed up the transfer or
use odbc driver instead of ole db ?

Thanks
Lyn


Lyn,

As a wildcard option...

You **could** try using FreeTDS, ( www.freetds.org ) and see if it will
compile on AIX. I've never tried it, but it might compile on AIX. Of
course you have to have a c-compiler on the system, and a few other
goodies to compile it. FreeTDS is the use of the Sybase Tabular Data
Stream library, which is typically used in Linux environments to get
data from a SQL-Server system. We have all manner of scripts running
on our Linux boxes connected with FreeTDS to our SQL-Server systems to
pull data. FreeTDS is the Sybase netlib library, so will be faster than
ODBC, but again, much depends on your ability to get FreeTDS to compile
on AIX--there may be a precompiled binary out there somewhere you can
use too. Chances are you won't be able to compile it on AIX, but you
**could** set up a Linux box, pull the data over with freebcp, which
comes with freetds, and then mount the drive with the data on AIX, and
load it. FreeTDS takes about 5 minutes to install from scratch, and
the config file looks a lot like an INI file, which also takes about
5 minutes to configure.

There is also jTDS at http://jtds.sourceforge.net/ . Again, much
depends on whether or not you can get this installed in your
environment. It might be more of an option than FreeTDS as it is
supposed to be platform independent.

Nov 12 '05 #3
Hi

If you cann't change the commit frequence (try db2cli.ini), by setting
autocoomit option.

Else do an export from MS SQL in CSV-file format, and use DB2 LOAD utility.
It's very fast.

/Kim
"Lyn Duong" <ly**@tablimited.com.au> wrote in message
news:8d**************************@posting.google.c om...
Hi all

I'm trying to transfer data from sqlserver 2000 to ibm db2 AIX 8.1.4
using dts packages
This works when I use db2 ole db drivers but the problem is that the
transfer is very slow as the rows are committed 1 by 1. I want to use
th odbc driver but it doesn't seem to work.

Has anyone experienced this? any ideas to speed up the transfer or
use odbc driver instead of ole db ?

Thanks
Lyn

Nov 12 '05 #4
Bob
Hi Lyn,

I suggest you try StarQuest Data Replicator
(http://www.starquest.com/Productfolder/infoSQDR.html), it is designed to
replicate data between SQL Server and DB2, and it's a very fast replication
solution.

Bob

"Lyn Duong" <ly**@tablimited.com.au> a écrit dans le message de
news:8d**************************@posting.google.c om...
Hi all

I'm trying to transfer data from sqlserver 2000 to ibm db2 AIX 8.1.4
using dts packages
This works when I use db2 ole db drivers but the problem is that the
transfer is very slow as the rows are committed 1 by 1. I want to use
th odbc driver but it doesn't seem to work.

Has anyone experienced this? any ideas to speed up the transfer or
use odbc driver instead of ole db ?

Thanks
Lyn

Nov 12 '05 #5
no, we have the need to run this transfer of data on a daily
basis..about 1million records per night so timings are important

i know how to set the autocommit off on db2 side but in ms sqlserver
2000 dts designer, how do i then tell the package to commit and where
is this StartTransaction Method ??

Thanks

"Mark Yudkin" <my***********************@nospam.org> wrote in message news:<cc**********@ngspool-d02.news.aol.com>...
Turn off autocommit by calling the StartTransaction method.

ODBC may be faster, but given the need to move data across the network from
Windows to AIX, I suspect that any performance gain in using a lower level
database API will be totally swamped by the network delays and time spend in
the network code. In addition, as you probably have a one-off migration, the
additional coding time is also a factor.

"Lyn Duong" <ly**@tablimited.com.au> wrote in message
news:8d**************************@posting.google.c om...
Hi all

I'm trying to transfer data from sqlserver 2000 to ibm db2 AIX 8.1.4
using dts packages
This works when I use db2 ole db drivers but the problem is that the
transfer is very slow as the rows are committed 1 by 1. I want to use
th odbc driver but it doesn't seem to work.

Has anyone experienced this? any ideas to speed up the transfer or
use odbc driver instead of ole db ?

Thanks
Lyn

Nov 12 '05 #6
Even at the risk of looking like I'm trying to upsell I have to ask:
have you looked into DB2 II. If you regularly talk to the SQL Server
there maybe value.

Cheers
Serge

--
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab
Nov 12 '05 #7
Have you considered using II or DProp hetrogenous replication?
"Lyn Duong" <ly**@tablimited.com.au> wrote in message
news:8d**************************@posting.google.c om...
Hi all

I'm trying to transfer data from sqlserver 2000 to ibm db2 AIX 8.1.4
using dts packages
This works when I use db2 ole db drivers but the problem is that the
transfer is very slow as the rows are committed 1 by 1. I want to use
th odbc driver but it doesn't seem to work.

Has anyone experienced this? any ideas to speed up the transfer or
use odbc driver instead of ole db ?

Thanks
Lyn

Nov 12 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3190
by: winshent | last post by:
Hi I am a novice with SQL server as i have experience with access. I need to do some front end development in access for a client who runs SQL 6.5 or so he tells me... (i have been told that...
1
2169
by: smahler | last post by:
Hi all, Here is my situation. I have an application that uses SQL 2000. The client has a program that uses MSDE. The client MUST have the MSDE version of the Database. What I have done is to...
2
4531
by: jimb | last post by:
I need some advice on how to securely transfer data between two servers. Here is the situation. We have two sql servers that hold student data. I have full access to my sql server, but only write...
1
2130
by: kumar yogesh via .NET 247 | last post by:
Hello, I want to develop an application to transfer data from sqlserver to excel such that , when we create a workbook in excel ,then we are able to transfer data from SQL Server to excel in away...
7
1188
by: Jim Bayers | last post by:
We have a read only connection to the remote campus sql server. For security reasons, my network nazi won't let me have a web server on our local server that has this connection. Fine. He want's...
1
2056
by: Asaf | last post by:
Hi, I am developing a windows forms client application that will send a large XML data to a web server using Web Services. I saw this article http://www.codeproject.com/soap/MTOMWebServices.asp...
3
1670
by: JayD | last post by:
(Not sure whether it is a general aspnet problem or a specific security problem, hence posting it in 2 groups). This will solve for us a number of problems. I have developed a website on my...
0
1136
by: Aqib | last post by:
I am working with Client Server Desktop Application which used to run on intranet. I am facing problem of slow speed due to large data (up to 1 GB). I am using Synchronies communication method (as...
2
2577
by: Bob | last post by:
Trying to transfer databases from MSDE to SQL. When I use SQL Enterprise Manager - DTS - import or export, it works for the first database, but then fails for the others. I select the to and from...
0
7093
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
7008
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7467
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5022
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4688
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3177
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1521
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
746
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
399
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.