![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Hi George, Welcome to Microsoft MSDN Managed Newsgroup. My name is Charles Wang[MSFT]. It is my pleasure to work with you on this post. From your description, I understand that you would like to know if it is feasible to run your same DTS package in multiple threads in your .NET application at the same time. If I have misunderstood, please let me know. It depends on what your DTS package is designed. It looked that your DTS package need to first start loading data from the tables one by one in your source database into the destination database. Could you please let me know why you have such requirements? In this case, each thread will do the duplicate job and is it your expected result? Using multiple threading may not be helpful since all threads start running the DTS package from the same start point which is actually a specific table. This method will impact the loading performance on the source server and may also cause conflicts in the destination table. If you want to take advantage of the multiple threading programming, I recommend that you use parameterized query in your DTS package so that each thread can pass different parameters to the DTS package and get different tables for exportation in each thread. This method can take the advantage of parallel running if you have multiple CPUs. http://msdn.microsoft.com/en-us/libr...9(SQL.80).aspx Hope this helps. If you have any other questions or concerns, please do not hesitate to let me know. Best regards, Charles Wang Microsoft Online Community Support ================================================== ========= Delighting our customers is our #1 priority. We welcome your comments and suggestions about how we can improve the support we provide to you. Please feel free to let my manager know what you think of the level of service provided. You can send feedback directly to my manager at: msdnmg (AT) microsoft (DOT) com. ================================================== ========= Get notification to my posts through email? Please refer to http://msdn.microsoft.com/subscripti...ult.aspx#notif ications. Note: MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support Engineer within 2 business day is acceptable. Please note that each follow up response may take approximately 2 business days as the support professional working with you may need further investigation to reach the most efficient resolution. The offering is not appropriate for situations that require urgent, real-time or phone-based interactions. Issues of this nature are best handled working with a dedicated Microsoft Support Engineer by contacting Microsoft Customer Support Services (CSS) at http://msdn.microsoft.com/en-us/subs.../aa948874.aspx. ================================================== ========== This posting is provided "AS IS" with no warranties, and confers no rights. ================================================== ======= |
#5
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |