markmulligansr
MIS
For example, is there a way I push the results from a script run on a local server into a script on a remote server that does something with the results without having to land the results on disk?
Or is there a way I can pull the results from a script/command run on a remote server into a script on a local server that does something with the results without having to land the results on disk?
Can I use a pipe or something else to accomplish this? If so, could someone provide me with an example?
The problem I am trying to solve is a lack of disk space. I have data in a database on one server that I want to unload and load into a database on another server. I know how to run the unload command on the one server and the load command on the other server and I know how to put these in UNIX scripts. What I do not know is how to run the unload in a script that pushes the table output through to the remote server load program to load the results into the remote database without having to land the unloaded data on disk in an interim file during the process. I am fine to push or pull the data, whichever is easiest. If I have the option to do this either way, then I can decide which server has the most resources available to run this and use the push or pull approach based on that.
Thanks in advance.
Or is there a way I can pull the results from a script/command run on a remote server into a script on a local server that does something with the results without having to land the results on disk?
Can I use a pipe or something else to accomplish this? If so, could someone provide me with an example?
The problem I am trying to solve is a lack of disk space. I have data in a database on one server that I want to unload and load into a database on another server. I know how to run the unload command on the one server and the load command on the other server and I know how to put these in UNIX scripts. What I do not know is how to run the unload in a script that pushes the table output through to the remote server load program to load the results into the remote database without having to land the unloaded data on disk in an interim file during the process. I am fine to push or pull the data, whichever is easiest. If I have the option to do this either way, then I can decide which server has the most resources available to run this and use the push or pull approach based on that.
Thanks in advance.