all groups > sql server data warehouse > june 2007 >
You're in the

sql server data warehouse

group:

Data Mart rollbacks


Data Mart rollbacks Joe
6/18/2007 9:13:46 AM
sql server data warehouse:
How have folks been managing rollbacks on failures inside SSIS when =
populating data marts?

For example - we have a seperate package for each dimension table, then =
a master Fact table update. If one of the dimension table updates fails =
- how have you rolled back the previous changes in the tables updated =
prior to the failure - or if the Fact tabel package fails - how do you =
manage rollback in all the dimension tables?

My first thought was using the Audit table information to determine =
Re: Data Mart rollbacks Joe
6/18/2007 12:31:28 PM
Is this what your team would implement?


[quoted text, click to view]
Re: Data Mart rollbacks Jeje
6/18/2007 4:06:07 PM
the easy way:
backup the DB, execute the ETLs, restore the DB in case of a problem...

in fact, its a big recommendation to always backup first, so there is no =
overhead here.
[quoted text, click to view]
How have folks been managing rollbacks on failures inside SSIS when =
populating data marts?

For example - we have a seperate package for each dimension table, =
then a master Fact table update. If one of the dimension table updates =
fails - how have you rolled back the previous changes in the tables =
updated prior to the failure - or if the Fact tabel package fails - how =
do you manage rollback in all the dimension tables?

My first thought was using the Audit table information to determine =
Re: Data Mart rollbacks Allan Mitchell
6/18/2007 6:35:04 PM
Hello Joe,

What about putting the Tasks (Execute Package tasks) in a transaction?

http://msdn2.microsoft.com/en-us/library/ms137690(SQL.90).aspx



--

Allan Mitchell
http://wiki.sqlis.com | http://www.sqlis.com | http://www.sqldts.com |
http://www.konesans.com

[quoted text, click to view]

Re: Data Mart rollbacks Allan Mitchell
6/18/2007 7:34:32 PM
Hello Joe,

Yes. I would be looking to put things inside of transactions. I may logically
split things up but yes transactions would be the way for me
--

Allan Mitchell
http://wiki.sqlis.com | http://www.sqlis.com | http://www.sqldts.com |
http://www.konesans.com

[quoted text, click to view]

AddThis Social Bookmark Button