data transfer issue - is NFS a good solution

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
wxqun
Participant
Posts: 5
Joined: Tue Nov 01, 2005 10:41 am

data transfer issue - is NFS a good solution

Post by wxqun »

Usually, we use FTP to transfer a datafile from DataStage server to DB2 database server and Load data locally. Now we are thinking to build a NFS on DataStage server, DB2 database server will be the NFS client. So the DB2 Load utility can be run on the database server without FTP operation. However, the NFS performance is a little bit concerned.
Is there anyone have this experience with NFS? Is this a good solution? Please share some experience. Thanks.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

You're just simplifying the administration. For small files performance won't be that bad, but for big files you'll see it's just like FTP. For big files, compression and high-performance ftp or scp followed by local decompression can be faster, but it's more programming.

I don't mind the compress, scp, decompress, ssh in a nice compact script trick. :wink:
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

If it works, it's good. It may not be best, but it is good.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
wxqun
Participant
Posts: 5
Joined: Tue Nov 01, 2005 10:41 am

Post by wxqun »

Thanks for all of your responds.

Yes, the NFS can simplify the data loading process management.
However, my concern is, for those large volume table loading (e.g 4G), compare "Compress --> FTP --> decompress -->DB2 Load" , how does the DB2 Load performance if the input datafile is under the NFS which is on 100M ethernet?

For the small tables, we just use DS Sequential Insert, no bother.

Thanks.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

100M ethernet will be a bottleneck. Get a dedicated network segment, get higher speed components (even fibre optic). NICs for fibre aren't expensive these days.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

There's nothing like a good benchmark in your specific environment. :wink:
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
opdas
Participant
Posts: 115
Joined: Wed Feb 01, 2006 7:25 am

Post by opdas »

Hi,
In our project we are using the db2 load utility from the Datastage server itself to load Data to DB2 DB, its working fine. The only thing you need is DB2 client installed on Datastage server.
Why do you need to FTP datafile to DB2 Server ?
Om Prakash


"There are things that are known, and there are things that are unknown, and in between there are doors"
wxqun
Participant
Posts: 5
Joined: Tue Nov 01, 2005 10:41 am

Post by wxqun »

We are using FTP just to bypass the network traffic during the load operation. In our workshop, FTP + Load locally is much faster than Load from Client.

No matter what, DB2 client has to be installed on DataStage server in order to connect to DB2 database server.

Anyway, I will do a test to see how NFS doing with our current network configuration. ( we are actually using Virtual I/O, maybe even worse than 100M ethernet. That's ashamed)
opdas
Participant
Posts: 115
Joined: Wed Feb 01, 2006 7:25 am

Post by opdas »

I would prefer a FTP then a load rather than NFS. If for some reason the network goes down or something wrong happens to the NFS during loading , would have an adverse impact where as a file can be FTPed again if the nework goes down in between transfering.
Om Prakash


"There are things that are known, and there are things that are unknown, and in between there are doors"
wxqun
Participant
Posts: 5
Joined: Tue Nov 01, 2005 10:41 am

Post by wxqun »

That makes sense. Thanks for your suggestion.
My concern here is mainly focus on performance.
Post Reply