Accessing files on a remote server
Moderators: chulett, rschirm, roy
Accessing files on a remote server
Hi All,
I have DataStage installed on server A. How can I read the dataset on server B which does not have DataStage installed on it. I also want to be able to write to server B.
Thanks.
Raj
I have DataStage installed on server A. How can I read the dataset on server B which does not have DataStage installed on it. I also want to be able to write to server B.
Thanks.
Raj
A .ds file is a specific work file structure that PX uses. It has no ability to be used by anything other than PX, so why would you put it anywhere else? If you need to create a data file to send to another server, then create a sequential file and ftp it. An alternative is to share a filesystem on on the DS server that is visible to the remote server (the remote server NFS (Network File System, I suggest you google it and learn about it, it's been around for quite a long time). Either way, your premise of distributing a .ds file is invalid.raj4756 wrote:What I mean is that the .ds file is just a pointer to the underlying data files in the DataFiles directory. Do I have to FTP all the underlying files as well.
Thanks.
Raj
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
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
Ken,
We are in the process of comparing peformance of reads from partitioned oracle tables versus reading from .ds files.
The oracle database is on a remote server. So, we want to mimic this with the .ds by reading from the remote server . Moreover we don't
want to be testing on the production server and meddle with the production files.
Any suggestions?
Thanks.
Raj
We are in the process of comparing peformance of reads from partitioned oracle tables versus reading from .ds files.
The oracle database is on a remote server. So, we want to mimic this with the .ds by reading from the remote server . Moreover we don't
want to be testing on the production server and meddle with the production files.
Any suggestions?
Thanks.
Raj
Your comparison is Oracle references versus a .ds Merge or Lookup operation. In the words of Tom Kyte, you're comparing apples to toaster ovens. The whole problem with database reference lookup calls is the saturation issue on the database server side combined with repititive query combined with network traffic combined with query queuing combined with shifting degrees of parallelism based on instantaneous parallel query slave usage on the server.
Both flavors of DataStage, Server and PX, encourage the use of localized reference structures (hash files, .ds, etc) to remove the database from the equation and put it into an optimized place, the DataStage transformation server.
Both flavors of DataStage, Server and PX, encourage the use of localized reference structures (hash files, .ds, etc) to remove the database from the equation and put it into an optimized place, the DataStage transformation server.
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
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
Databases are sources and targets. As reference objects they don't do well for a host of reasons. I'm not talking about joins, I'm talking about references, a totally different concept. As sources and targets, obviously, they are fine. But, when you have to manipulate, massage, or enrich data then temporary scratch pad objects not in a database have the highest performance.
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
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
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
The question was about datasets in the PX environment.
All you should need to do, provided that the machines are in the same cluster, is to define the hostname along with other definitions of each resource, in the PX configuration file associated with the job. Information on editing configuration files is in the DataStage Manager Guide (man_gde.pdf) in your Docs folder. In particular, see Chapter 11 (The Parallel Engine Configuration File).
All you should need to do, provided that the machines are in the same cluster, is to define the hostname along with other definitions of each resource, in the PX configuration file associated with the job. Information on editing configuration files is in the DataStage Manager Guide (man_gde.pdf) in your Docs folder. In particular, see Chapter 11 (The Parallel Engine Configuration File).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.