dbTalk Databases Forums  

Where does processing take place when executing a remote package?

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Where does processing take place when executing a remote package? in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Eric Bragas
 
Posts: n/a

Default Where does processing take place when executing a remote package? - 03-07-2008 , 01:06 PM






Hello,

I have a DTS package ("pkg1") on Server 1, and it's last task is an
Execute Package Task. The package it executes ("pkg2") is on Server
2. Where does the actual processing take place for pkg2?

My situation is such that pkg1 exports a text file, zips it up, then
transfers it across the network to Server 2. Then, as its last step,
it calls pkg2 on Server 2, which unzips the file and imports it to a
database on Server 2. The problem I'm noticing is that the zip task
on pkg1 completes relatively quickly, but the unzip task of pkg2 seems
to execute much slower. Considering these two servers are about 400
miles apart and our connectivity between the two offices is absolutely
lousy--I could burn the data to a disc and fly it down there faster
than a regular DTS data transfer--I'm suspecting that the processing
of pkg2 is actually taking place on pkg1. Please tell me I'm wrong.

I considered putting pkg2 on a schedule so that it's not being
triggered at all from Server 1, but that's just not feasible. When we
do these data transfers, its because we need the data ASAP.

By the way, I use BCP for exporting and importing within the
packages. It's the fastest way we can move millions of rows between
the two offices.

Thanks for any help,
Eric

Reply With Quote
  #2  
Old   
nite_eagle@hotmail.com
 
Posts: n/a

Default Re: Where does processing take place when executing a remote package? - 03-10-2008 , 09:22 AM






Yes, Eric, it is working exactly as you suspect. The second package on
Server2 is running on Server1.

Create a job on Server2 and issue an sp_start_job from the Pkg1 on
Server1 utilizing an Execute SQL Task connected to Server2.

Norman Kelm
DTS Package Search
http://www.dtspackagesearch.com/

On Mar 7, 2:06 pm, Eric Bragas <ericbra... (AT) yahoo (DOT) com> wrote:
Quote:
Hello,

I have a DTS package ("pkg1") on Server 1, and it's last task is an
Execute Package Task. The package it executes ("pkg2") is on Server
2. Where does the actual processing take place for pkg2?

My situation is such that pkg1 exports a text file, zips it up, then
transfers it across the network to Server 2. Then, as its last step,
it calls pkg2 on Server 2, which unzips the file and imports it to a
database on Server 2. The problem I'm noticing is that the zip task
on pkg1 completes relatively quickly, but the unzip task of pkg2 seems
to execute much slower. Considering these two servers are about 400
miles apart and our connectivity between the two offices is absolutely
lousy--I could burn the data to a disc and fly it down there faster
than a regular DTS data transfer--I'm suspecting that the processing
of pkg2 is actually taking place on pkg1. Please tell me I'm wrong.

I considered putting pkg2 on a schedule so that it's not being
triggered at all from Server 1, but that's just not feasible. When we
do these data transfers, its because we need the data ASAP.

By the way, I use BCP for exporting and importing within the
packages. It's the fastest way we can move millions of rows between
the two offices.

Thanks for any help,
Eric


Reply With Quote
  #3  
Old   
nite_eagle@hotmail.com
 
Posts: n/a

Default Re: Where does processing take place when executing a remote package? - 03-10-2008 , 09:22 AM



Yes, Eric, it is working exactly as you suspect. The second package on
Server2 is running on Server1.

Create a job on Server2 and issue an sp_start_job from the Pkg1 on
Server1 utilizing an Execute SQL Task connected to Server2.

Norman Kelm
DTS Package Search
http://www.dtspackagesearch.com/

On Mar 7, 2:06 pm, Eric Bragas <ericbra... (AT) yahoo (DOT) com> wrote:
Quote:
Hello,

I have a DTS package ("pkg1") on Server 1, and it's last task is an
Execute Package Task. The package it executes ("pkg2") is on Server
2. Where does the actual processing take place for pkg2?

My situation is such that pkg1 exports a text file, zips it up, then
transfers it across the network to Server 2. Then, as its last step,
it calls pkg2 on Server 2, which unzips the file and imports it to a
database on Server 2. The problem I'm noticing is that the zip task
on pkg1 completes relatively quickly, but the unzip task of pkg2 seems
to execute much slower. Considering these two servers are about 400
miles apart and our connectivity between the two offices is absolutely
lousy--I could burn the data to a disc and fly it down there faster
than a regular DTS data transfer--I'm suspecting that the processing
of pkg2 is actually taking place on pkg1. Please tell me I'm wrong.

I considered putting pkg2 on a schedule so that it's not being
triggered at all from Server 1, but that's just not feasible. When we
do these data transfers, its because we need the data ASAP.

By the way, I use BCP for exporting and importing within the
packages. It's the fastest way we can move millions of rows between
the two offices.

Thanks for any help,
Eric


Reply With Quote
  #4  
Old   
nite_eagle@hotmail.com
 
Posts: n/a

Default Re: Where does processing take place when executing a remote package? - 03-10-2008 , 09:22 AM



Yes, Eric, it is working exactly as you suspect. The second package on
Server2 is running on Server1.

Create a job on Server2 and issue an sp_start_job from the Pkg1 on
Server1 utilizing an Execute SQL Task connected to Server2.

Norman Kelm
DTS Package Search
http://www.dtspackagesearch.com/

On Mar 7, 2:06 pm, Eric Bragas <ericbra... (AT) yahoo (DOT) com> wrote:
Quote:
Hello,

I have a DTS package ("pkg1") on Server 1, and it's last task is an
Execute Package Task. The package it executes ("pkg2") is on Server
2. Where does the actual processing take place for pkg2?

My situation is such that pkg1 exports a text file, zips it up, then
transfers it across the network to Server 2. Then, as its last step,
it calls pkg2 on Server 2, which unzips the file and imports it to a
database on Server 2. The problem I'm noticing is that the zip task
on pkg1 completes relatively quickly, but the unzip task of pkg2 seems
to execute much slower. Considering these two servers are about 400
miles apart and our connectivity between the two offices is absolutely
lousy--I could burn the data to a disc and fly it down there faster
than a regular DTS data transfer--I'm suspecting that the processing
of pkg2 is actually taking place on pkg1. Please tell me I'm wrong.

I considered putting pkg2 on a schedule so that it's not being
triggered at all from Server 1, but that's just not feasible. When we
do these data transfers, its because we need the data ASAP.

By the way, I use BCP for exporting and importing within the
packages. It's the fastest way we can move millions of rows between
the two offices.

Thanks for any help,
Eric


Reply With Quote
  #5  
Old   
nite_eagle@hotmail.com
 
Posts: n/a

Default Re: Where does processing take place when executing a remote package? - 03-10-2008 , 09:22 AM



Yes, Eric, it is working exactly as you suspect. The second package on
Server2 is running on Server1.

Create a job on Server2 and issue an sp_start_job from the Pkg1 on
Server1 utilizing an Execute SQL Task connected to Server2.

Norman Kelm
DTS Package Search
http://www.dtspackagesearch.com/

On Mar 7, 2:06 pm, Eric Bragas <ericbra... (AT) yahoo (DOT) com> wrote:
Quote:
Hello,

I have a DTS package ("pkg1") on Server 1, and it's last task is an
Execute Package Task. The package it executes ("pkg2") is on Server
2. Where does the actual processing take place for pkg2?

My situation is such that pkg1 exports a text file, zips it up, then
transfers it across the network to Server 2. Then, as its last step,
it calls pkg2 on Server 2, which unzips the file and imports it to a
database on Server 2. The problem I'm noticing is that the zip task
on pkg1 completes relatively quickly, but the unzip task of pkg2 seems
to execute much slower. Considering these two servers are about 400
miles apart and our connectivity between the two offices is absolutely
lousy--I could burn the data to a disc and fly it down there faster
than a regular DTS data transfer--I'm suspecting that the processing
of pkg2 is actually taking place on pkg1. Please tell me I'm wrong.

I considered putting pkg2 on a schedule so that it's not being
triggered at all from Server 1, but that's just not feasible. When we
do these data transfers, its because we need the data ASAP.

By the way, I use BCP for exporting and importing within the
packages. It's the fastest way we can move millions of rows between
the two offices.

Thanks for any help,
Eric


Reply With Quote
  #6  
Old   
nite_eagle@hotmail.com
 
Posts: n/a

Default Re: Where does processing take place when executing a remote package? - 03-10-2008 , 09:22 AM



Yes, Eric, it is working exactly as you suspect. The second package on
Server2 is running on Server1.

Create a job on Server2 and issue an sp_start_job from the Pkg1 on
Server1 utilizing an Execute SQL Task connected to Server2.

Norman Kelm
DTS Package Search
http://www.dtspackagesearch.com/

On Mar 7, 2:06 pm, Eric Bragas <ericbra... (AT) yahoo (DOT) com> wrote:
Quote:
Hello,

I have a DTS package ("pkg1") on Server 1, and it's last task is an
Execute Package Task. The package it executes ("pkg2") is on Server
2. Where does the actual processing take place for pkg2?

My situation is such that pkg1 exports a text file, zips it up, then
transfers it across the network to Server 2. Then, as its last step,
it calls pkg2 on Server 2, which unzips the file and imports it to a
database on Server 2. The problem I'm noticing is that the zip task
on pkg1 completes relatively quickly, but the unzip task of pkg2 seems
to execute much slower. Considering these two servers are about 400
miles apart and our connectivity between the two offices is absolutely
lousy--I could burn the data to a disc and fly it down there faster
than a regular DTS data transfer--I'm suspecting that the processing
of pkg2 is actually taking place on pkg1. Please tell me I'm wrong.

I considered putting pkg2 on a schedule so that it's not being
triggered at all from Server 1, but that's just not feasible. When we
do these data transfers, its because we need the data ASAP.

By the way, I use BCP for exporting and importing within the
packages. It's the fastest way we can move millions of rows between
the two offices.

Thanks for any help,
Eric


Reply With Quote
  #7  
Old   
nite_eagle@hotmail.com
 
Posts: n/a

Default Re: Where does processing take place when executing a remote package? - 03-10-2008 , 09:22 AM



Yes, Eric, it is working exactly as you suspect. The second package on
Server2 is running on Server1.

Create a job on Server2 and issue an sp_start_job from the Pkg1 on
Server1 utilizing an Execute SQL Task connected to Server2.

Norman Kelm
DTS Package Search
http://www.dtspackagesearch.com/

On Mar 7, 2:06 pm, Eric Bragas <ericbra... (AT) yahoo (DOT) com> wrote:
Quote:
Hello,

I have a DTS package ("pkg1") on Server 1, and it's last task is an
Execute Package Task. The package it executes ("pkg2") is on Server
2. Where does the actual processing take place for pkg2?

My situation is such that pkg1 exports a text file, zips it up, then
transfers it across the network to Server 2. Then, as its last step,
it calls pkg2 on Server 2, which unzips the file and imports it to a
database on Server 2. The problem I'm noticing is that the zip task
on pkg1 completes relatively quickly, but the unzip task of pkg2 seems
to execute much slower. Considering these two servers are about 400
miles apart and our connectivity between the two offices is absolutely
lousy--I could burn the data to a disc and fly it down there faster
than a regular DTS data transfer--I'm suspecting that the processing
of pkg2 is actually taking place on pkg1. Please tell me I'm wrong.

I considered putting pkg2 on a schedule so that it's not being
triggered at all from Server 1, but that's just not feasible. When we
do these data transfers, its because we need the data ASAP.

By the way, I use BCP for exporting and importing within the
packages. It's the fastest way we can move millions of rows between
the two offices.

Thanks for any help,
Eric


Reply With Quote
  #8  
Old   
nite_eagle@hotmail.com
 
Posts: n/a

Default Re: Where does processing take place when executing a remote package? - 03-10-2008 , 09:22 AM



Yes, Eric, it is working exactly as you suspect. The second package on
Server2 is running on Server1.

Create a job on Server2 and issue an sp_start_job from the Pkg1 on
Server1 utilizing an Execute SQL Task connected to Server2.

Norman Kelm
DTS Package Search
http://www.dtspackagesearch.com/

On Mar 7, 2:06 pm, Eric Bragas <ericbra... (AT) yahoo (DOT) com> wrote:
Quote:
Hello,

I have a DTS package ("pkg1") on Server 1, and it's last task is an
Execute Package Task. The package it executes ("pkg2") is on Server
2. Where does the actual processing take place for pkg2?

My situation is such that pkg1 exports a text file, zips it up, then
transfers it across the network to Server 2. Then, as its last step,
it calls pkg2 on Server 2, which unzips the file and imports it to a
database on Server 2. The problem I'm noticing is that the zip task
on pkg1 completes relatively quickly, but the unzip task of pkg2 seems
to execute much slower. Considering these two servers are about 400
miles apart and our connectivity between the two offices is absolutely
lousy--I could burn the data to a disc and fly it down there faster
than a regular DTS data transfer--I'm suspecting that the processing
of pkg2 is actually taking place on pkg1. Please tell me I'm wrong.

I considered putting pkg2 on a schedule so that it's not being
triggered at all from Server 1, but that's just not feasible. When we
do these data transfers, its because we need the data ASAP.

By the way, I use BCP for exporting and importing within the
packages. It's the fastest way we can move millions of rows between
the two offices.

Thanks for any help,
Eric


Reply With Quote
  #9  
Old   
nite_eagle@hotmail.com
 
Posts: n/a

Default Re: Where does processing take place when executing a remote package? - 03-10-2008 , 09:22 AM



Yes, Eric, it is working exactly as you suspect. The second package on
Server2 is running on Server1.

Create a job on Server2 and issue an sp_start_job from the Pkg1 on
Server1 utilizing an Execute SQL Task connected to Server2.

Norman Kelm
DTS Package Search
http://www.dtspackagesearch.com/

On Mar 7, 2:06 pm, Eric Bragas <ericbra... (AT) yahoo (DOT) com> wrote:
Quote:
Hello,

I have a DTS package ("pkg1") on Server 1, and it's last task is an
Execute Package Task. The package it executes ("pkg2") is on Server
2. Where does the actual processing take place for pkg2?

My situation is such that pkg1 exports a text file, zips it up, then
transfers it across the network to Server 2. Then, as its last step,
it calls pkg2 on Server 2, which unzips the file and imports it to a
database on Server 2. The problem I'm noticing is that the zip task
on pkg1 completes relatively quickly, but the unzip task of pkg2 seems
to execute much slower. Considering these two servers are about 400
miles apart and our connectivity between the two offices is absolutely
lousy--I could burn the data to a disc and fly it down there faster
than a regular DTS data transfer--I'm suspecting that the processing
of pkg2 is actually taking place on pkg1. Please tell me I'm wrong.

I considered putting pkg2 on a schedule so that it's not being
triggered at all from Server 1, but that's just not feasible. When we
do these data transfers, its because we need the data ASAP.

By the way, I use BCP for exporting and importing within the
packages. It's the fastest way we can move millions of rows between
the two offices.

Thanks for any help,
Eric


Reply With Quote
  #10  
Old   
Eric Bragas
 
Posts: n/a

Default Re: Where does processing take place when executing a remote package? - 03-10-2008 , 10:22 AM



Thank you very much, Norman. I can see wzunzip.exe and bcp.exe
running on Server1 in the Task Manager, so I was forced to find
another route. Since I knew a Job could handle that, I ended up doing
exactly as you suggested. Before I call the Job on Server2, however,
I find I must use an ActiveX script to update the pkg2 global
variables and then re-save the DTS package in order to get the proper
default values. Do you know if there's a better way, such as
modifying the Job before calling it?

Thanks,
Eric

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.