SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Transaction is SSIS


Transaction is SSIS

Author
Message
MuraliKrishnan1980
MuraliKrishnan1980
SSC Veteran
SSC Veteran (211 reputation)SSC Veteran (211 reputation)SSC Veteran (211 reputation)SSC Veteran (211 reputation)SSC Veteran (211 reputation)SSC Veteran (211 reputation)SSC Veteran (211 reputation)SSC Veteran (211 reputation)

Group: General Forum Members
Points: 211 Visits: 1409
Hi Friends,

I am trying to implement transaction in SSIS for the first time. We are going to migrate few records from source to destination tables using DFT. We are planning to have multiple threads inside the DFT. So if one of the thread fails, the data migration happened thru other threads too should roll back.

I am putting the DFT in a sequence container and setting the transactionoption to required and setting the trasactionoption property of DFTs inside the seq container to supported.

I am getting an error while executing the package. I have started the DTC using Administrative tools. I am still getting the error "The partner transaction manager has disabled its support for remote/network transactions". I saw in few threads that we have to enable remote access thru Component Services.

I am accessing the DB through VPN.

Please help me in resolving the issue.
demonfox
demonfox
SSCommitted
SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)

Group: General Forum Members
Points: 1523 Visits: 1192
MuraliKrishnan1980 (12/13/2012)
Hi Friends,

I am trying to implement transaction in SSIS for the first time. We are going to migrate few records from source to destination tables using DFT. We are planning to have multiple threads inside the DFT. So if one of the thread fails, the data migration happened thru other threads too should roll back.

I am putting the DFT in a sequence container and setting the transactionoption to required and setting the trasactionoption property of DFTs inside the seq container to supported.

I am getting an error while executing the package. I have started the DTC using Administrative tools. I am still getting the error "The partner transaction manager has disabled its support for remote/network transactions". I saw in few threads that we have to enable remote access thru Component Services.

I am accessing the DB through VPN.

Please help me in resolving the issue.

I am not completely sure about the issue you are receiving ..
but I hope this link helps..
http://social.msdn.microsoft.com/Forums/en-GB/sqlintegrationservices/thread/ba76283e-add7-4951-a0b1-332b7b6107c2

~ demonfox
___________________________________________________________________
Wondering what I would do next , when I am done with this one Ermm
j.miner
j.miner
SSC-Enthusiastic
SSC-Enthusiastic (154 reputation)SSC-Enthusiastic (154 reputation)SSC-Enthusiastic (154 reputation)SSC-Enthusiastic (154 reputation)SSC-Enthusiastic (154 reputation)SSC-Enthusiastic (154 reputation)SSC-Enthusiastic (154 reputation)SSC-Enthusiastic (154 reputation)

Group: General Forum Members
Points: 154 Visits: 358
Hi Guys,

I took a look at the MSDTC article. I have been down that path before during setup.
I guess the question is why use a transaction at all when doing a large ETL jobs.

Here are some ideas that might be quicker overall.


1 - If you can get away with an UPSERT, do it. It is better than trying to roll back a huge load.
It is also restartable. Use a hosptial table to direct errored out rows for research of post processing.


2 - Create a database snapshot before the load. All changed records will go to this sparse file.
When the job errors out, stop the ETL. Use a database restore to put the data back to a steady state.


I ended up rewriting a database warehousing project recently. Plan 1 worked our very well since I did a singe pass of 10 M rows and then did several passes against the hospital table to fix data integrity issues.

In summary, always question why you are going down a path before you start.

Good luck

John Miner
Crafty DBA
www.craftydba.com
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search